Documentation ¶
Index ¶
- Constants
- Variables
- func InitExecutor(cfg *types.Chain33Config)
- func InitFork(cfg *types.Chain33Config)
- type ActiveBoard
- func (*ActiveBoard) Descriptor() ([]byte, []int)deprecated
- func (x *ActiveBoard) GetAmount() int64
- func (x *ActiveBoard) GetBoards() []string
- func (x *ActiveBoard) GetRevboards() []string
- func (x *ActiveBoard) GetStartHeight() int64
- func (*ActiveBoard) ProtoMessage()
- func (x *ActiveBoard) ProtoReflect() protoreflect.Message
- func (x *ActiveBoard) Reset()
- func (x *ActiveBoard) String() string
- type AutonomyAction
- func (*AutonomyAction) Descriptor() ([]byte, []int)deprecated
- func (x *AutonomyAction) GetCommentProp() *Comment
- func (x *AutonomyAction) GetPropBoard() *ProposalBoard
- func (x *AutonomyAction) GetPropChange() *ProposalChange
- func (x *AutonomyAction) GetPropItem() *ProposalItem
- func (x *AutonomyAction) GetPropProject() *ProposalProject
- func (x *AutonomyAction) GetPropRule() *ProposalRule
- func (x *AutonomyAction) GetPubVotePropProject() *PubVoteProposalProject
- func (x *AutonomyAction) GetRvkPropBoard() *RevokeProposalBoard
- func (x *AutonomyAction) GetRvkPropChange() *RevokeProposalChange
- func (x *AutonomyAction) GetRvkPropItem() *RevokeProposalItem
- func (x *AutonomyAction) GetRvkPropProject() *RevokeProposalProject
- func (x *AutonomyAction) GetRvkPropRule() *RevokeProposalRule
- func (x *AutonomyAction) GetTmintPropBoard() *TerminateProposalBoard
- func (x *AutonomyAction) GetTmintPropChange() *TerminateProposalChange
- func (x *AutonomyAction) GetTmintPropItem() *TerminateProposalItem
- func (x *AutonomyAction) GetTmintPropProject() *TerminateProposalProject
- func (x *AutonomyAction) GetTmintPropRule() *TerminateProposalRule
- func (x *AutonomyAction) GetTransfer() *TransferFund
- func (x *AutonomyAction) GetTy() int32
- func (m *AutonomyAction) GetValue() isAutonomyAction_Value
- func (x *AutonomyAction) GetVotePropBoard() *VoteProposalBoard
- func (x *AutonomyAction) GetVotePropChange() *VoteProposalChange
- func (x *AutonomyAction) GetVotePropItem() *VoteProposalItem
- func (x *AutonomyAction) GetVotePropProject() *VoteProposalProject
- func (x *AutonomyAction) GetVotePropRule() *VoteProposalRule
- func (*AutonomyAction) ProtoMessage()
- func (x *AutonomyAction) ProtoReflect() protoreflect.Message
- func (x *AutonomyAction) Reset()
- func (x *AutonomyAction) String() string
- type AutonomyAction_CommentProp
- type AutonomyAction_PropBoard
- type AutonomyAction_PropChange
- type AutonomyAction_PropItem
- type AutonomyAction_PropProject
- type AutonomyAction_PropRule
- type AutonomyAction_PubVotePropProject
- type AutonomyAction_RvkPropBoard
- type AutonomyAction_RvkPropChange
- type AutonomyAction_RvkPropItem
- type AutonomyAction_RvkPropProject
- type AutonomyAction_RvkPropRule
- type AutonomyAction_TmintPropBoard
- type AutonomyAction_TmintPropChange
- type AutonomyAction_TmintPropItem
- type AutonomyAction_TmintPropProject
- type AutonomyAction_TmintPropRule
- type AutonomyAction_Transfer
- type AutonomyAction_VotePropBoard
- type AutonomyAction_VotePropChange
- type AutonomyAction_VotePropItem
- type AutonomyAction_VotePropProject
- type AutonomyAction_VotePropRule
- type AutonomyProposalBoard
- func (*AutonomyProposalBoard) Descriptor() ([]byte, []int)deprecated
- func (x *AutonomyProposalBoard) GetAddress() string
- func (x *AutonomyProposalBoard) GetBoard() *ActiveBoard
- func (x *AutonomyProposalBoard) GetCurRule() *RuleConfig
- func (x *AutonomyProposalBoard) GetHeight() int64
- func (x *AutonomyProposalBoard) GetIndex() int32
- func (x *AutonomyProposalBoard) GetPropBoard() *ProposalBoard
- func (x *AutonomyProposalBoard) GetProposalID() string
- func (x *AutonomyProposalBoard) GetStatus() int32
- func (x *AutonomyProposalBoard) GetVoteResult() *VoteResult
- func (*AutonomyProposalBoard) ProtoMessage()
- func (x *AutonomyProposalBoard) ProtoReflect() protoreflect.Message
- func (x *AutonomyProposalBoard) Reset()
- func (x *AutonomyProposalBoard) String() string
- type AutonomyProposalChange
- func (*AutonomyProposalChange) Descriptor() ([]byte, []int)deprecated
- func (x *AutonomyProposalChange) GetAddress() string
- func (x *AutonomyProposalChange) GetBoard() *ActiveBoard
- func (x *AutonomyProposalChange) GetCurRule() *RuleConfig
- func (x *AutonomyProposalChange) GetHeight() int64
- func (x *AutonomyProposalChange) GetIndex() int32
- func (x *AutonomyProposalChange) GetPropChange() *ProposalChange
- func (x *AutonomyProposalChange) GetProposalID() string
- func (x *AutonomyProposalChange) GetStatus() int32
- func (x *AutonomyProposalChange) GetVoteResult() *VoteResult
- func (*AutonomyProposalChange) ProtoMessage()
- func (x *AutonomyProposalChange) ProtoReflect() protoreflect.Message
- func (x *AutonomyProposalChange) Reset()
- func (x *AutonomyProposalChange) String() string
- type AutonomyProposalItem
- func (*AutonomyProposalItem) Descriptor() ([]byte, []int)deprecated
- func (x *AutonomyProposalItem) GetAddress() string
- func (x *AutonomyProposalItem) GetBoardVoteRes() *VoteResult
- func (x *AutonomyProposalItem) GetBoards() []string
- func (x *AutonomyProposalItem) GetCurRule() *RuleConfig
- func (x *AutonomyProposalItem) GetHeight() int64
- func (x *AutonomyProposalItem) GetIndex() int32
- func (x *AutonomyProposalItem) GetPropItem() *ProposalItem
- func (x *AutonomyProposalItem) GetProposalID() string
- func (x *AutonomyProposalItem) GetStatus() int32
- func (*AutonomyProposalItem) ProtoMessage()
- func (x *AutonomyProposalItem) ProtoReflect() protoreflect.Message
- func (x *AutonomyProposalItem) Reset()
- func (x *AutonomyProposalItem) String() string
- type AutonomyProposalProject
- func (*AutonomyProposalProject) Descriptor() ([]byte, []int)deprecated
- func (x *AutonomyProposalProject) GetAddress() string
- func (x *AutonomyProposalProject) GetBoardVoteRes() *VoteResult
- func (x *AutonomyProposalProject) GetBoards() []string
- func (x *AutonomyProposalProject) GetCurRule() *RuleConfig
- func (x *AutonomyProposalProject) GetHeight() int64
- func (x *AutonomyProposalProject) GetIndex() int32
- func (x *AutonomyProposalProject) GetPropProject() *ProposalProject
- func (x *AutonomyProposalProject) GetProposalID() string
- func (x *AutonomyProposalProject) GetPubVote() *PublicVote
- func (x *AutonomyProposalProject) GetStatus() int32
- func (*AutonomyProposalProject) ProtoMessage()
- func (x *AutonomyProposalProject) ProtoReflect() protoreflect.Message
- func (x *AutonomyProposalProject) Reset()
- func (x *AutonomyProposalProject) String() string
- type AutonomyProposalRule
- func (*AutonomyProposalRule) Descriptor() ([]byte, []int)deprecated
- func (x *AutonomyProposalRule) GetAddress() string
- func (x *AutonomyProposalRule) GetCurRule() *RuleConfig
- func (x *AutonomyProposalRule) GetHeight() int64
- func (x *AutonomyProposalRule) GetIndex() int32
- func (x *AutonomyProposalRule) GetPropRule() *ProposalRule
- func (x *AutonomyProposalRule) GetProposalID() string
- func (x *AutonomyProposalRule) GetStatus() int32
- func (x *AutonomyProposalRule) GetVoteResult() *VoteResult
- func (*AutonomyProposalRule) ProtoMessage()
- func (x *AutonomyProposalRule) ProtoReflect() protoreflect.Message
- func (x *AutonomyProposalRule) Reset()
- func (x *AutonomyProposalRule) String() string
- type AutonomyType
- type AutonomyVoteOption
- func (AutonomyVoteOption) Descriptor() protoreflect.EnumDescriptor
- func (x AutonomyVoteOption) Enum() *AutonomyVoteOption
- func (AutonomyVoteOption) EnumDescriptor() ([]byte, []int)deprecated
- func (x AutonomyVoteOption) Number() protoreflect.EnumNumber
- func (x AutonomyVoteOption) String() string
- func (AutonomyVoteOption) Type() protoreflect.EnumType
- type BoardUpdate
- func (BoardUpdate) Descriptor() protoreflect.EnumDescriptor
- func (x BoardUpdate) Enum() *BoardUpdate
- func (BoardUpdate) EnumDescriptor() ([]byte, []int)deprecated
- func (x BoardUpdate) Number() protoreflect.EnumNumber
- func (x BoardUpdate) String() string
- func (BoardUpdate) Type() protoreflect.EnumType
- type Change
- type Comment
- func (*Comment) Descriptor() ([]byte, []int)deprecated
- func (x *Comment) GetComment() string
- func (x *Comment) GetProposalID() string
- func (x *Comment) GetRepHash() string
- func (*Comment) ProtoMessage()
- func (x *Comment) ProtoReflect() protoreflect.Message
- func (x *Comment) Reset()
- func (x *Comment) String() string
- type LocalProposalBoard
- func (*LocalProposalBoard) Descriptor() ([]byte, []int)deprecated
- func (x *LocalProposalBoard) GetComments() []string
- func (x *LocalProposalBoard) GetPropBd() *AutonomyProposalBoard
- func (*LocalProposalBoard) ProtoMessage()
- func (x *LocalProposalBoard) ProtoReflect() protoreflect.Message
- func (x *LocalProposalBoard) Reset()
- func (x *LocalProposalBoard) String() string
- type LocalProposalChange
- func (*LocalProposalChange) Descriptor() ([]byte, []int)deprecated
- func (x *LocalProposalChange) GetComments() []string
- func (x *LocalProposalChange) GetPropBd() *AutonomyProposalChange
- func (*LocalProposalChange) ProtoMessage()
- func (x *LocalProposalChange) ProtoReflect() protoreflect.Message
- func (x *LocalProposalChange) Reset()
- func (x *LocalProposalChange) String() string
- type LocalProposalItem
- func (*LocalProposalItem) Descriptor() ([]byte, []int)deprecated
- func (x *LocalProposalItem) GetComments() []string
- func (x *LocalProposalItem) GetPropItem() *AutonomyProposalItem
- func (*LocalProposalItem) ProtoMessage()
- func (x *LocalProposalItem) ProtoReflect() protoreflect.Message
- func (x *LocalProposalItem) Reset()
- func (x *LocalProposalItem) String() string
- type LocalProposalProject
- func (*LocalProposalProject) Descriptor() ([]byte, []int)deprecated
- func (x *LocalProposalProject) GetComments() []string
- func (x *LocalProposalProject) GetPropPrj() *AutonomyProposalProject
- func (*LocalProposalProject) ProtoMessage()
- func (x *LocalProposalProject) ProtoReflect() protoreflect.Message
- func (x *LocalProposalProject) Reset()
- func (x *LocalProposalProject) String() string
- type LocalProposalRule
- func (*LocalProposalRule) Descriptor() ([]byte, []int)deprecated
- func (x *LocalProposalRule) GetComments() []string
- func (x *LocalProposalRule) GetPropRule() *AutonomyProposalRule
- func (*LocalProposalRule) ProtoMessage()
- func (x *LocalProposalRule) ProtoReflect() protoreflect.Message
- func (x *LocalProposalRule) Reset()
- func (x *LocalProposalRule) String() string
- type ProposalBoard
- func (*ProposalBoard) Descriptor() ([]byte, []int)deprecated
- func (x *ProposalBoard) GetBoardUpdate() BoardUpdate
- func (x *ProposalBoard) GetBoards() []string
- func (x *ProposalBoard) GetDay() int32
- func (x *ProposalBoard) GetEndBlockHeight() int64
- func (x *ProposalBoard) GetMonth() int32
- func (x *ProposalBoard) GetRealEndBlockHeight() int64
- func (x *ProposalBoard) GetStartBlockHeight() int64
- func (x *ProposalBoard) GetUpdate() bool
- func (x *ProposalBoard) GetYear() int32
- func (*ProposalBoard) ProtoMessage()
- func (x *ProposalBoard) ProtoReflect() protoreflect.Message
- func (x *ProposalBoard) Reset()
- func (x *ProposalBoard) String() string
- type ProposalChange
- func (*ProposalChange) Descriptor() ([]byte, []int)deprecated
- func (x *ProposalChange) GetChanges() []*Change
- func (x *ProposalChange) GetDay() int32
- func (x *ProposalChange) GetEndBlockHeight() int64
- func (x *ProposalChange) GetMonth() int32
- func (x *ProposalChange) GetRealEndBlockHeight() int64
- func (x *ProposalChange) GetStartBlockHeight() int64
- func (x *ProposalChange) GetYear() int32
- func (*ProposalChange) ProtoMessage()
- func (x *ProposalChange) ProtoReflect() protoreflect.Message
- func (x *ProposalChange) Reset()
- func (x *ProposalChange) String() string
- type ProposalItem
- func (*ProposalItem) Descriptor() ([]byte, []int)deprecated
- func (x *ProposalItem) GetDay() int32
- func (x *ProposalItem) GetDescription() string
- func (x *ProposalItem) GetEndBlockHeight() int64
- func (x *ProposalItem) GetItemTxHash() string
- func (x *ProposalItem) GetMonth() int32
- func (x *ProposalItem) GetProjectNeedBlockNum() int32
- func (x *ProposalItem) GetRealEndBlockHeight() int64
- func (x *ProposalItem) GetStartBlockHeight() int64
- func (x *ProposalItem) GetYear() int32
- func (*ProposalItem) ProtoMessage()
- func (x *ProposalItem) ProtoReflect() protoreflect.Message
- func (x *ProposalItem) Reset()
- func (x *ProposalItem) String() string
- type ProposalProject
- func (*ProposalProject) Descriptor() ([]byte, []int)deprecated
- func (x *ProposalProject) GetAmount() int64
- func (x *ProposalProject) GetAmountDetail() string
- func (x *ProposalProject) GetContractor() string
- func (x *ProposalProject) GetDay() int32
- func (x *ProposalProject) GetDescription() string
- func (x *ProposalProject) GetEndBlockHeight() int64
- func (x *ProposalProject) GetFirstStage() string
- func (x *ProposalProject) GetLastStage() string
- func (x *ProposalProject) GetMonth() int32
- func (x *ProposalProject) GetProduction() string
- func (x *ProposalProject) GetProjectNeedBlockNum() int32
- func (x *ProposalProject) GetRealEndBlockHeight() int64
- func (x *ProposalProject) GetStartBlockHeight() int64
- func (x *ProposalProject) GetToAddr() string
- func (x *ProposalProject) GetYear() int32
- func (*ProposalProject) ProtoMessage()
- func (x *ProposalProject) ProtoReflect() protoreflect.Message
- func (x *ProposalProject) Reset()
- func (x *ProposalProject) String() string
- type ProposalRule
- func (*ProposalRule) Descriptor() ([]byte, []int)deprecated
- func (x *ProposalRule) GetDay() int32
- func (x *ProposalRule) GetEndBlockHeight() int64
- func (x *ProposalRule) GetMonth() int32
- func (x *ProposalRule) GetRealEndBlockHeight() int64
- func (x *ProposalRule) GetRuleCfg() *RuleConfig
- func (x *ProposalRule) GetStartBlockHeight() int64
- func (x *ProposalRule) GetYear() int32
- func (*ProposalRule) ProtoMessage()
- func (x *ProposalRule) ProtoReflect() protoreflect.Message
- func (x *ProposalRule) Reset()
- func (x *ProposalRule) String() string
- type PubVoteProposalProject
- func (*PubVoteProposalProject) Descriptor() ([]byte, []int)deprecated
- func (x *PubVoteProposalProject) GetOppose() bool
- func (x *PubVoteProposalProject) GetOriginAddr() []string
- func (x *PubVoteProposalProject) GetProposalID() string
- func (*PubVoteProposalProject) ProtoMessage()
- func (x *PubVoteProposalProject) ProtoReflect() protoreflect.Message
- func (x *PubVoteProposalProject) Reset()
- func (x *PubVoteProposalProject) String() string
- type PublicVote
- func (*PublicVote) Descriptor() ([]byte, []int)deprecated
- func (x *PublicVote) GetOpposeVotes() int32
- func (x *PublicVote) GetPubPass() bool
- func (x *PublicVote) GetPublicity() bool
- func (x *PublicVote) GetTotalVotes() int32
- func (*PublicVote) ProtoMessage()
- func (x *PublicVote) ProtoReflect() protoreflect.Message
- func (x *PublicVote) Reset()
- func (x *PublicVote) String() string
- type ReceiptProposalBoard
- func (*ReceiptProposalBoard) Descriptor() ([]byte, []int)deprecated
- func (x *ReceiptProposalBoard) GetCurrent() *AutonomyProposalBoard
- func (x *ReceiptProposalBoard) GetPrev() *AutonomyProposalBoard
- func (*ReceiptProposalBoard) ProtoMessage()
- func (x *ReceiptProposalBoard) ProtoReflect() protoreflect.Message
- func (x *ReceiptProposalBoard) Reset()
- func (x *ReceiptProposalBoard) String() string
- type ReceiptProposalChange
- func (*ReceiptProposalChange) Descriptor() ([]byte, []int)deprecated
- func (x *ReceiptProposalChange) GetCurrent() *AutonomyProposalChange
- func (x *ReceiptProposalChange) GetPrev() *AutonomyProposalChange
- func (*ReceiptProposalChange) ProtoMessage()
- func (x *ReceiptProposalChange) ProtoReflect() protoreflect.Message
- func (x *ReceiptProposalChange) Reset()
- func (x *ReceiptProposalChange) String() string
- type ReceiptProposalComment
- func (*ReceiptProposalComment) Descriptor() ([]byte, []int)deprecated
- func (x *ReceiptProposalComment) GetCmt() *Comment
- func (x *ReceiptProposalComment) GetHash() string
- func (x *ReceiptProposalComment) GetHeight() int64
- func (x *ReceiptProposalComment) GetIndex() int32
- func (*ReceiptProposalComment) ProtoMessage()
- func (x *ReceiptProposalComment) ProtoReflect() protoreflect.Message
- func (x *ReceiptProposalComment) Reset()
- func (x *ReceiptProposalComment) String() string
- type ReceiptProposalItem
- func (*ReceiptProposalItem) Descriptor() ([]byte, []int)deprecated
- func (x *ReceiptProposalItem) GetCurrent() *AutonomyProposalItem
- func (x *ReceiptProposalItem) GetPrev() *AutonomyProposalItem
- func (*ReceiptProposalItem) ProtoMessage()
- func (x *ReceiptProposalItem) ProtoReflect() protoreflect.Message
- func (x *ReceiptProposalItem) Reset()
- func (x *ReceiptProposalItem) String() string
- type ReceiptProposalProject
- func (*ReceiptProposalProject) Descriptor() ([]byte, []int)deprecated
- func (x *ReceiptProposalProject) GetCurrent() *AutonomyProposalProject
- func (x *ReceiptProposalProject) GetPrev() *AutonomyProposalProject
- func (*ReceiptProposalProject) ProtoMessage()
- func (x *ReceiptProposalProject) ProtoReflect() protoreflect.Message
- func (x *ReceiptProposalProject) Reset()
- func (x *ReceiptProposalProject) String() string
- type ReceiptProposalRule
- func (*ReceiptProposalRule) Descriptor() ([]byte, []int)deprecated
- func (x *ReceiptProposalRule) GetCurrent() *AutonomyProposalRule
- func (x *ReceiptProposalRule) GetPrev() *AutonomyProposalRule
- func (*ReceiptProposalRule) ProtoMessage()
- func (x *ReceiptProposalRule) ProtoReflect() protoreflect.Message
- func (x *ReceiptProposalRule) Reset()
- func (x *ReceiptProposalRule) String() string
- type RelationCmt
- func (*RelationCmt) Descriptor() ([]byte, []int)deprecated
- func (x *RelationCmt) GetComment() string
- func (x *RelationCmt) GetHash() string
- func (x *RelationCmt) GetHeight() int64
- func (x *RelationCmt) GetIndex() int32
- func (x *RelationCmt) GetRepHash() string
- func (*RelationCmt) ProtoMessage()
- func (x *RelationCmt) ProtoReflect() protoreflect.Message
- func (x *RelationCmt) Reset()
- func (x *RelationCmt) String() string
- type ReplyQueryProposalBoard
- func (*ReplyQueryProposalBoard) Descriptor() ([]byte, []int)deprecated
- func (x *ReplyQueryProposalBoard) GetPropBoards() []*AutonomyProposalBoard
- func (*ReplyQueryProposalBoard) ProtoMessage()
- func (x *ReplyQueryProposalBoard) ProtoReflect() protoreflect.Message
- func (x *ReplyQueryProposalBoard) Reset()
- func (x *ReplyQueryProposalBoard) String() string
- type ReplyQueryProposalChange
- func (*ReplyQueryProposalChange) Descriptor() ([]byte, []int)deprecated
- func (x *ReplyQueryProposalChange) GetPropChanges() []*AutonomyProposalChange
- func (*ReplyQueryProposalChange) ProtoMessage()
- func (x *ReplyQueryProposalChange) ProtoReflect() protoreflect.Message
- func (x *ReplyQueryProposalChange) Reset()
- func (x *ReplyQueryProposalChange) String() string
- type ReplyQueryProposalComment
- func (*ReplyQueryProposalComment) Descriptor() ([]byte, []int)deprecated
- func (x *ReplyQueryProposalComment) GetRltCmt() []*RelationCmt
- func (*ReplyQueryProposalComment) ProtoMessage()
- func (x *ReplyQueryProposalComment) ProtoReflect() protoreflect.Message
- func (x *ReplyQueryProposalComment) Reset()
- func (x *ReplyQueryProposalComment) String() string
- type ReplyQueryProposalItem
- func (*ReplyQueryProposalItem) Descriptor() ([]byte, []int)deprecated
- func (x *ReplyQueryProposalItem) GetPropItems() []*AutonomyProposalItem
- func (*ReplyQueryProposalItem) ProtoMessage()
- func (x *ReplyQueryProposalItem) ProtoReflect() protoreflect.Message
- func (x *ReplyQueryProposalItem) Reset()
- func (x *ReplyQueryProposalItem) String() string
- type ReplyQueryProposalProject
- func (*ReplyQueryProposalProject) Descriptor() ([]byte, []int)deprecated
- func (x *ReplyQueryProposalProject) GetPropProjects() []*AutonomyProposalProject
- func (*ReplyQueryProposalProject) ProtoMessage()
- func (x *ReplyQueryProposalProject) ProtoReflect() protoreflect.Message
- func (x *ReplyQueryProposalProject) Reset()
- func (x *ReplyQueryProposalProject) String() string
- type ReplyQueryProposalRule
- func (*ReplyQueryProposalRule) Descriptor() ([]byte, []int)deprecated
- func (x *ReplyQueryProposalRule) GetPropRules() []*AutonomyProposalRule
- func (*ReplyQueryProposalRule) ProtoMessage()
- func (x *ReplyQueryProposalRule) ProtoReflect() protoreflect.Message
- func (x *ReplyQueryProposalRule) Reset()
- func (x *ReplyQueryProposalRule) String() string
- type ReqQueryProposalBoard
- func (*ReqQueryProposalBoard) Descriptor() ([]byte, []int)deprecated
- func (x *ReqQueryProposalBoard) GetAddr() string
- func (x *ReqQueryProposalBoard) GetCount() int32
- func (x *ReqQueryProposalBoard) GetDirection() int32
- func (x *ReqQueryProposalBoard) GetHeight() int64
- func (x *ReqQueryProposalBoard) GetIndex() int32
- func (x *ReqQueryProposalBoard) GetStatus() int32
- func (*ReqQueryProposalBoard) ProtoMessage()
- func (x *ReqQueryProposalBoard) ProtoReflect() protoreflect.Message
- func (x *ReqQueryProposalBoard) Reset()
- func (x *ReqQueryProposalBoard) String() string
- type ReqQueryProposalChange
- func (*ReqQueryProposalChange) Descriptor() ([]byte, []int)deprecated
- func (x *ReqQueryProposalChange) GetAddr() string
- func (x *ReqQueryProposalChange) GetCount() int32
- func (x *ReqQueryProposalChange) GetDirection() int32
- func (x *ReqQueryProposalChange) GetHeight() int64
- func (x *ReqQueryProposalChange) GetIndex() int32
- func (x *ReqQueryProposalChange) GetStatus() int32
- func (*ReqQueryProposalChange) ProtoMessage()
- func (x *ReqQueryProposalChange) ProtoReflect() protoreflect.Message
- func (x *ReqQueryProposalChange) Reset()
- func (x *ReqQueryProposalChange) String() string
- type ReqQueryProposalComment
- func (*ReqQueryProposalComment) Descriptor() ([]byte, []int)deprecated
- func (x *ReqQueryProposalComment) GetCount() int32
- func (x *ReqQueryProposalComment) GetDirection() int32
- func (x *ReqQueryProposalComment) GetHeight() int64
- func (x *ReqQueryProposalComment) GetIndex() int32
- func (x *ReqQueryProposalComment) GetProposalID() string
- func (*ReqQueryProposalComment) ProtoMessage()
- func (x *ReqQueryProposalComment) ProtoReflect() protoreflect.Message
- func (x *ReqQueryProposalComment) Reset()
- func (x *ReqQueryProposalComment) String() string
- type ReqQueryProposalItem
- func (*ReqQueryProposalItem) Descriptor() ([]byte, []int)deprecated
- func (x *ReqQueryProposalItem) GetAddr() string
- func (x *ReqQueryProposalItem) GetCount() int32
- func (x *ReqQueryProposalItem) GetDirection() int32
- func (x *ReqQueryProposalItem) GetHeight() int64
- func (x *ReqQueryProposalItem) GetIndex() int32
- func (x *ReqQueryProposalItem) GetStatus() int32
- func (*ReqQueryProposalItem) ProtoMessage()
- func (x *ReqQueryProposalItem) ProtoReflect() protoreflect.Message
- func (x *ReqQueryProposalItem) Reset()
- func (x *ReqQueryProposalItem) String() string
- type ReqQueryProposalProject
- func (*ReqQueryProposalProject) Descriptor() ([]byte, []int)deprecated
- func (x *ReqQueryProposalProject) GetAddr() string
- func (x *ReqQueryProposalProject) GetCount() int32
- func (x *ReqQueryProposalProject) GetDirection() int32
- func (x *ReqQueryProposalProject) GetHeight() int64
- func (x *ReqQueryProposalProject) GetIndex() int32
- func (x *ReqQueryProposalProject) GetStatus() int32
- func (*ReqQueryProposalProject) ProtoMessage()
- func (x *ReqQueryProposalProject) ProtoReflect() protoreflect.Message
- func (x *ReqQueryProposalProject) Reset()
- func (x *ReqQueryProposalProject) String() string
- type ReqQueryProposalRule
- func (*ReqQueryProposalRule) Descriptor() ([]byte, []int)deprecated
- func (x *ReqQueryProposalRule) GetAddr() string
- func (x *ReqQueryProposalRule) GetCount() int32
- func (x *ReqQueryProposalRule) GetDirection() int32
- func (x *ReqQueryProposalRule) GetHeight() int64
- func (x *ReqQueryProposalRule) GetIndex() int32
- func (x *ReqQueryProposalRule) GetStatus() int32
- func (*ReqQueryProposalRule) ProtoMessage()
- func (x *ReqQueryProposalRule) ProtoReflect() protoreflect.Message
- func (x *ReqQueryProposalRule) Reset()
- func (x *ReqQueryProposalRule) String() string
- type RevokeProposalBoard
- func (*RevokeProposalBoard) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeProposalBoard) GetProposalID() string
- func (*RevokeProposalBoard) ProtoMessage()
- func (x *RevokeProposalBoard) ProtoReflect() protoreflect.Message
- func (x *RevokeProposalBoard) Reset()
- func (x *RevokeProposalBoard) String() string
- type RevokeProposalChange
- func (*RevokeProposalChange) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeProposalChange) GetProposalID() string
- func (*RevokeProposalChange) ProtoMessage()
- func (x *RevokeProposalChange) ProtoReflect() protoreflect.Message
- func (x *RevokeProposalChange) Reset()
- func (x *RevokeProposalChange) String() string
- type RevokeProposalItem
- func (*RevokeProposalItem) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeProposalItem) GetProposalID() string
- func (*RevokeProposalItem) ProtoMessage()
- func (x *RevokeProposalItem) ProtoReflect() protoreflect.Message
- func (x *RevokeProposalItem) Reset()
- func (x *RevokeProposalItem) String() string
- type RevokeProposalProject
- func (*RevokeProposalProject) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeProposalProject) GetProposalID() string
- func (*RevokeProposalProject) ProtoMessage()
- func (x *RevokeProposalProject) ProtoReflect() protoreflect.Message
- func (x *RevokeProposalProject) Reset()
- func (x *RevokeProposalProject) String() string
- type RevokeProposalRule
- func (*RevokeProposalRule) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeProposalRule) GetProposalID() string
- func (*RevokeProposalRule) ProtoMessage()
- func (x *RevokeProposalRule) ProtoReflect() protoreflect.Message
- func (x *RevokeProposalRule) Reset()
- func (x *RevokeProposalRule) String() string
- type RuleConfig
- func (*RuleConfig) Descriptor() ([]byte, []int)deprecated
- func (x *RuleConfig) GetBoardApproveRatio() int32
- func (x *RuleConfig) GetLargeProjectAmount() int64
- func (x *RuleConfig) GetProposalAmount() int64
- func (x *RuleConfig) GetPubApproveRatio() int32
- func (x *RuleConfig) GetPubAttendRatio() int32
- func (x *RuleConfig) GetPubOpposeRatio() int32
- func (x *RuleConfig) GetPublicPeriod() int32
- func (*RuleConfig) ProtoMessage()
- func (x *RuleConfig) ProtoReflect() protoreflect.Message
- func (x *RuleConfig) Reset()
- func (x *RuleConfig) String() string
- type TerminateProposalBoard
- func (*TerminateProposalBoard) Descriptor() ([]byte, []int)deprecated
- func (x *TerminateProposalBoard) GetProposalID() string
- func (*TerminateProposalBoard) ProtoMessage()
- func (x *TerminateProposalBoard) ProtoReflect() protoreflect.Message
- func (x *TerminateProposalBoard) Reset()
- func (x *TerminateProposalBoard) String() string
- type TerminateProposalChange
- func (*TerminateProposalChange) Descriptor() ([]byte, []int)deprecated
- func (x *TerminateProposalChange) GetProposalID() string
- func (*TerminateProposalChange) ProtoMessage()
- func (x *TerminateProposalChange) ProtoReflect() protoreflect.Message
- func (x *TerminateProposalChange) Reset()
- func (x *TerminateProposalChange) String() string
- type TerminateProposalItem
- func (*TerminateProposalItem) Descriptor() ([]byte, []int)deprecated
- func (x *TerminateProposalItem) GetProposalID() string
- func (*TerminateProposalItem) ProtoMessage()
- func (x *TerminateProposalItem) ProtoReflect() protoreflect.Message
- func (x *TerminateProposalItem) Reset()
- func (x *TerminateProposalItem) String() string
- type TerminateProposalProject
- func (*TerminateProposalProject) Descriptor() ([]byte, []int)deprecated
- func (x *TerminateProposalProject) GetProposalID() string
- func (*TerminateProposalProject) ProtoMessage()
- func (x *TerminateProposalProject) ProtoReflect() protoreflect.Message
- func (x *TerminateProposalProject) Reset()
- func (x *TerminateProposalProject) String() string
- type TerminateProposalRule
- func (*TerminateProposalRule) Descriptor() ([]byte, []int)deprecated
- func (x *TerminateProposalRule) GetProposalID() string
- func (*TerminateProposalRule) ProtoMessage()
- func (x *TerminateProposalRule) ProtoReflect() protoreflect.Message
- func (x *TerminateProposalRule) Reset()
- func (x *TerminateProposalRule) String() string
- type TransferFund
- func (*TransferFund) Descriptor() ([]byte, []int)deprecated
- func (x *TransferFund) GetAmount() int64
- func (x *TransferFund) GetNote() string
- func (*TransferFund) ProtoMessage()
- func (x *TransferFund) ProtoReflect() protoreflect.Message
- func (x *TransferFund) Reset()
- func (x *TransferFund) String() string
- type VoteProposalBoard
- func (*VoteProposalBoard) Descriptor() ([]byte, []int)deprecated
- func (x *VoteProposalBoard) GetApprove() bool
- func (x *VoteProposalBoard) GetOriginAddr() []string
- func (x *VoteProposalBoard) GetProposalID() string
- func (x *VoteProposalBoard) GetVoteOption() AutonomyVoteOption
- func (*VoteProposalBoard) ProtoMessage()
- func (x *VoteProposalBoard) ProtoReflect() protoreflect.Message
- func (x *VoteProposalBoard) Reset()
- func (x *VoteProposalBoard) String() string
- type VoteProposalChange
- func (*VoteProposalChange) Descriptor() ([]byte, []int)deprecated
- func (x *VoteProposalChange) GetApprove() bool
- func (x *VoteProposalChange) GetProposalID() string
- func (x *VoteProposalChange) GetVote() AutonomyVoteOption
- func (*VoteProposalChange) ProtoMessage()
- func (x *VoteProposalChange) ProtoReflect() protoreflect.Message
- func (x *VoteProposalChange) Reset()
- func (x *VoteProposalChange) String() string
- type VoteProposalItem
- func (*VoteProposalItem) Descriptor() ([]byte, []int)deprecated
- func (x *VoteProposalItem) GetApprove() bool
- func (x *VoteProposalItem) GetProposalID() string
- func (x *VoteProposalItem) GetVote() AutonomyVoteOption
- func (*VoteProposalItem) ProtoMessage()
- func (x *VoteProposalItem) ProtoReflect() protoreflect.Message
- func (x *VoteProposalItem) Reset()
- func (x *VoteProposalItem) String() string
- type VoteProposalProject
- func (*VoteProposalProject) Descriptor() ([]byte, []int)deprecated
- func (x *VoteProposalProject) GetApprove() bool
- func (x *VoteProposalProject) GetProposalID() string
- func (x *VoteProposalProject) GetVote() AutonomyVoteOption
- func (*VoteProposalProject) ProtoMessage()
- func (x *VoteProposalProject) ProtoReflect() protoreflect.Message
- func (x *VoteProposalProject) Reset()
- func (x *VoteProposalProject) String() string
- type VoteProposalRule
- func (*VoteProposalRule) Descriptor() ([]byte, []int)deprecated
- func (x *VoteProposalRule) GetApprove() bool
- func (x *VoteProposalRule) GetOriginAddr() []string
- func (x *VoteProposalRule) GetProposalID() string
- func (x *VoteProposalRule) GetVote() AutonomyVoteOption
- func (*VoteProposalRule) ProtoMessage()
- func (x *VoteProposalRule) ProtoReflect() protoreflect.Message
- func (x *VoteProposalRule) Reset()
- func (x *VoteProposalRule) String() string
- type VoteResult
- func (*VoteResult) Descriptor() ([]byte, []int)deprecated
- func (x *VoteResult) GetApproveVotes() int32
- func (x *VoteResult) GetOpposeVotes() int32
- func (x *VoteResult) GetPass() bool
- func (x *VoteResult) GetQuitVotes() int32
- func (x *VoteResult) GetTotalVotes() int32
- func (*VoteResult) ProtoMessage()
- func (x *VoteResult) ProtoReflect() protoreflect.Message
- func (x *VoteResult) Reset()
- func (x *VoteResult) String() string
- type VotesRecord
Constants ¶
const ( AutonomyActionPropBoard = iota + 1 AutonomyActionRvkPropBoard AutonomyActionVotePropBoard AutonomyActionTmintPropBoard AutonomyActionPropProject AutonomyActionRvkPropProject AutonomyActionVotePropProject AutonomyActionPubVotePropProject AutonomyActionTmintPropProject AutonomyActionPropRule AutonomyActionRvkPropRule AutonomyActionVotePropRule AutonomyActionTmintPropRule AutonomyActionTransfer AutonomyActionCommentProp AutonomyActionPropChange AutonomyActionRvkPropChange AutonomyActionVotePropChange AutonomyActionTmintPropChange AutonomyActionPropItem AutonomyActionRvkPropItem AutonomyActionVotePropItem AutonomyActionTmintPropItem //log for autonomy TyLogPropBoard = 2101 TyLogRvkPropBoard = 2102 TyLogVotePropBoard = 2103 TyLogTmintPropBoard = 2104 TyLogPropProject = 2111 TyLogRvkPropProject = 2112 TyLogVotePropProject = 2113 TyLogPubVotePropProject = 2114 TyLogTmintPropProject = 2115 TyLogPropRule = 2121 TyLogRvkPropRule = 2122 TyLogVotePropRule = 2123 TyLogTmintPropRule = 2124 TyLogCommentProp = 2131 TyLogPropChange = 2141 TyLogRvkPropChange = 2142 TyLogVotePropChange = 2143 TyLogTmintPropChange = 2144 TyLogPropItem = 2161 TyLogRvkPropItem = 2162 TyLogVotePropItem = 2163 TyLogTmintPropItem = 2164 )
autonomy action ty
const ( AutonomyStatusProposalBoard = iota + 1 AutonomyStatusRvkPropBoard AutonomyStatusVotePropBoard AutonomyStatusTmintPropBoard )
Board status
const ( AutonomyStatusProposalProject = iota + 1 AutonomyStatusRvkPropProject AutonomyStatusVotePropProject AutonomyStatusPubVotePropProject AutonomyStatusTmintPropProject )
Project status
const ( AutonomyStatusProposalRule = iota + 1 AutonomyStatusRvkPropRule AutonomyStatusVotePropRule AutonomyStatusTmintPropRule )
Rule status
const ( AutonomyStatusProposalChange = iota + 1 AutonomyStatusRvkPropChange AutonomyStatusVotePropChange AutonomyStatusTmintPropChange )
Change status
const ( AutonomyStatusProposalItem = iota + 1 AutonomyStatusRvkPropItem AutonomyStatusVotePropItem AutonomyStatusTmintPropItem )
Item status
const ( // GetProposalBoard 用于在cmd里面的区分不同的查询 GetProposalBoard = "GetProposalBoard" // ListProposalBoard 查询多个 ListProposalBoard = "ListProposalBoard" // GetActiveBoard 查询当前的 GetActiveBoard = "GetActiveBoard" // GetProposalProject 用于在cmd里面的区分不同的查询 GetProposalProject = "GetProposalProject" // ListProposalProject 查询多个 ListProposalProject = "ListProposalProject" // GetProposalRule 用于在cmd里面的区分不同的查询 GetProposalRule = "GetProposalRule" // ListProposalRule 查询多个 ListProposalRule = "ListProposalRule" // GetActiveRule 查询当前的 GetActiveRule = "GetActiveRule" // ListProposalComment 查询多个 ListProposalComment = "ListProposalComment" // GetProposalChange 用于在cmd里面的区分不同的查询 GetProposalChange = "GetProposalChange" // ListProposalChange 查询多个 ListProposalChange = "ListProposalChange" // GetProposalItem 用于在cmd里面的区分不同的查询 GetProposalItem = "GetProposalItem" // ListProposalItem 查询多个 ListProposalItem = "ListProposalItem" )
Variables ¶
var ( BoardUpdate_name = map[int32]string{ 0: "INV", 1: "ADDBoard", 2: "DELBoard", 3: "REPLACEALL", } BoardUpdate_value = map[string]int32{ "INV": 0, "ADDBoard": 1, "DELBoard": 2, "REPLACEALL": 3, } )
Enum value maps for BoardUpdate.
var ( AutonomyX = "autonomy" ExecerAutonomy = []byte(AutonomyX) // TicketX 该模块需要查询ticket合约下的账户余额 TicketX = "ticket" )
包的名字可以通过配置文件来配置 建议用github的组织名称,或者用户名字开头, 再加上自己的插件的名字 如果发生重名,可以通过配置文件修改这些名字
var ( // ErrVotePeriod 非投票期间 ErrVotePeriod = errors.New("ErrVotePeriod") // ErrProposalStatus 状态错误 ErrProposalStatus = errors.New("ErrProposalStatus") // ErrRepeatVoteAddr 重复投票地址 ErrRepeatVoteAddr = errors.New("ErrRepeatVoteAddr") // ErrRevokeProposalPeriod 非取消提案期间 ErrRevokeProposalPeriod = errors.New("ErrRevokeProposalPeriod") // ErrRevokeProposalPower 不能取消 ErrRevokeProposalPower = errors.New("ErrRevokeProposalPower") // ErrTerminatePeriod 不能终止 ErrTerminatePeriod = errors.New("ErrTerminatePeriod") // ErrNoActiveBoard 没有有效董事会 ErrNoActiveBoard = errors.New("ErrNoActiveBoard") // ErrNoAutonomyExec 非Autonomy执行器 ErrNoAutonomyExec = errors.New("ErrNoAutonomyExec") // ErrNoPeriodAmount 当前没有足够额度 ErrNoPeriodAmount = errors.New("ErrNoPeriodAmount") // ErrMinerAddr 无效挖矿地址 ErrMinerAddr = errors.New("ErrMinerAddr") // ErrBindAddr 无效绑定地址 ErrBindAddr = errors.New("ErrBindAddr") // ErrChangeBoardAddr 无效修改董事会成员地址 ErrChangeBoardAddr = errors.New("ErrChangeBoardAddr") // ErrBoardNumber 董事会成员数错误 ErrBoardNumber = errors.New("ErrBoardNumber") // ErrRepeatAddr 重复地址 ErrRepeatAddr = errors.New("ErrRepeatAddr") // ErrNotEnoughFund 重复地址 ErrNotEnoughFund = errors.New("ErrNotEnoughFund") // ErrSetBlockHeight block height not match ErrSetBlockHeight = errors.New("ErrSetBlockHeight") )
var ( AutonomyVoteOption_name = map[int32]string{ 0: "NOJOIN", 1: "APPROVE", 2: "OPPOSE", 3: "QUIT", } AutonomyVoteOption_value = map[string]int32{ "NOJOIN": 0, "APPROVE": 1, "OPPOSE": 2, "QUIT": 3, } )
Enum value maps for AutonomyVoteOption.
var ( //ForkAutonomyDelRule fork for delete boards member rules ForkAutonomyDelRule = "ForkAutonomyDelRule" //ForkAutonomyEnableItem fork for add autonomy item support ForkAutonomyEnableItem = "ForkAutonomyEnableItem" )
var File_autonomy_proto protoreflect.FileDescriptor
var File_board_proto protoreflect.FileDescriptor
var File_change_proto protoreflect.FileDescriptor
var File_item_proto protoreflect.FileDescriptor
var File_lcommon_proto protoreflect.FileDescriptor
var File_project_proto protoreflect.FileDescriptor
var File_rule_proto protoreflect.FileDescriptor
Functions ¶
Types ¶
type ActiveBoard ¶
type ActiveBoard struct { Boards []string `protobuf:"bytes,1,rep,name=boards,proto3" json:"boards,omitempty"` Revboards []string `protobuf:"bytes,2,rep,name=revboards,proto3" json:"revboards,omitempty"` Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` StartHeight int64 `protobuf:"varint,4,opt,name=startHeight,proto3" json:"startHeight,omitempty"` // contains filtered or unexported fields }
func (*ActiveBoard) Descriptor
deprecated
func (*ActiveBoard) Descriptor() ([]byte, []int)
Deprecated: Use ActiveBoard.ProtoReflect.Descriptor instead.
func (*ActiveBoard) GetAmount ¶
func (x *ActiveBoard) GetAmount() int64
func (*ActiveBoard) GetBoards ¶
func (x *ActiveBoard) GetBoards() []string
func (*ActiveBoard) GetRevboards ¶
func (x *ActiveBoard) GetRevboards() []string
func (*ActiveBoard) GetStartHeight ¶
func (x *ActiveBoard) GetStartHeight() int64
func (*ActiveBoard) ProtoMessage ¶
func (*ActiveBoard) ProtoMessage()
func (*ActiveBoard) ProtoReflect ¶ added in v1.65.3
func (x *ActiveBoard) ProtoReflect() protoreflect.Message
func (*ActiveBoard) Reset ¶
func (x *ActiveBoard) Reset()
func (*ActiveBoard) String ¶
func (x *ActiveBoard) String() string
type AutonomyAction ¶
type AutonomyAction struct { // Types that are assignable to Value: // *AutonomyAction_PropBoard // *AutonomyAction_RvkPropBoard // *AutonomyAction_VotePropBoard // *AutonomyAction_TmintPropBoard // *AutonomyAction_PropProject // *AutonomyAction_RvkPropProject // *AutonomyAction_VotePropProject // *AutonomyAction_PubVotePropProject // *AutonomyAction_TmintPropProject // *AutonomyAction_PropRule // *AutonomyAction_RvkPropRule // *AutonomyAction_VotePropRule // *AutonomyAction_TmintPropRule // *AutonomyAction_Transfer // *AutonomyAction_CommentProp // *AutonomyAction_PropChange // *AutonomyAction_RvkPropChange // *AutonomyAction_VotePropChange // *AutonomyAction_TmintPropChange // *AutonomyAction_PropItem // *AutonomyAction_RvkPropItem // *AutonomyAction_VotePropItem // *AutonomyAction_TmintPropItem Value isAutonomyAction_Value `protobuf_oneof:"value"` Ty int32 `protobuf:"varint,20,opt,name=ty,proto3" json:"ty,omitempty"` // contains filtered or unexported fields }
message for execs.Autonomy
func (*AutonomyAction) Descriptor
deprecated
func (*AutonomyAction) Descriptor() ([]byte, []int)
Deprecated: Use AutonomyAction.ProtoReflect.Descriptor instead.
func (*AutonomyAction) GetCommentProp ¶
func (x *AutonomyAction) GetCommentProp() *Comment
func (*AutonomyAction) GetPropBoard ¶
func (x *AutonomyAction) GetPropBoard() *ProposalBoard
func (*AutonomyAction) GetPropChange ¶
func (x *AutonomyAction) GetPropChange() *ProposalChange
func (*AutonomyAction) GetPropItem ¶ added in v1.66.0
func (x *AutonomyAction) GetPropItem() *ProposalItem
func (*AutonomyAction) GetPropProject ¶
func (x *AutonomyAction) GetPropProject() *ProposalProject
func (*AutonomyAction) GetPropRule ¶
func (x *AutonomyAction) GetPropRule() *ProposalRule
func (*AutonomyAction) GetPubVotePropProject ¶
func (x *AutonomyAction) GetPubVotePropProject() *PubVoteProposalProject
func (*AutonomyAction) GetRvkPropBoard ¶
func (x *AutonomyAction) GetRvkPropBoard() *RevokeProposalBoard
func (*AutonomyAction) GetRvkPropChange ¶
func (x *AutonomyAction) GetRvkPropChange() *RevokeProposalChange
func (*AutonomyAction) GetRvkPropItem ¶ added in v1.66.0
func (x *AutonomyAction) GetRvkPropItem() *RevokeProposalItem
func (*AutonomyAction) GetRvkPropProject ¶
func (x *AutonomyAction) GetRvkPropProject() *RevokeProposalProject
func (*AutonomyAction) GetRvkPropRule ¶
func (x *AutonomyAction) GetRvkPropRule() *RevokeProposalRule
func (*AutonomyAction) GetTmintPropBoard ¶
func (x *AutonomyAction) GetTmintPropBoard() *TerminateProposalBoard
func (*AutonomyAction) GetTmintPropChange ¶
func (x *AutonomyAction) GetTmintPropChange() *TerminateProposalChange
func (*AutonomyAction) GetTmintPropItem ¶ added in v1.66.0
func (x *AutonomyAction) GetTmintPropItem() *TerminateProposalItem
func (*AutonomyAction) GetTmintPropProject ¶
func (x *AutonomyAction) GetTmintPropProject() *TerminateProposalProject
func (*AutonomyAction) GetTmintPropRule ¶
func (x *AutonomyAction) GetTmintPropRule() *TerminateProposalRule
func (*AutonomyAction) GetTransfer ¶
func (x *AutonomyAction) GetTransfer() *TransferFund
func (*AutonomyAction) GetTy ¶
func (x *AutonomyAction) GetTy() int32
func (*AutonomyAction) GetValue ¶
func (m *AutonomyAction) GetValue() isAutonomyAction_Value
func (*AutonomyAction) GetVotePropBoard ¶
func (x *AutonomyAction) GetVotePropBoard() *VoteProposalBoard
func (*AutonomyAction) GetVotePropChange ¶
func (x *AutonomyAction) GetVotePropChange() *VoteProposalChange
func (*AutonomyAction) GetVotePropItem ¶ added in v1.66.0
func (x *AutonomyAction) GetVotePropItem() *VoteProposalItem
func (*AutonomyAction) GetVotePropProject ¶
func (x *AutonomyAction) GetVotePropProject() *VoteProposalProject
func (*AutonomyAction) GetVotePropRule ¶
func (x *AutonomyAction) GetVotePropRule() *VoteProposalRule
func (*AutonomyAction) ProtoMessage ¶
func (*AutonomyAction) ProtoMessage()
func (*AutonomyAction) ProtoReflect ¶ added in v1.65.3
func (x *AutonomyAction) ProtoReflect() protoreflect.Message
func (*AutonomyAction) Reset ¶
func (x *AutonomyAction) Reset()
func (*AutonomyAction) String ¶
func (x *AutonomyAction) String() string
type AutonomyAction_CommentProp ¶
type AutonomyAction_CommentProp struct {
CommentProp *Comment `protobuf:"bytes,15,opt,name=commentProp,proto3,oneof"`
}
type AutonomyAction_PropBoard ¶
type AutonomyAction_PropBoard struct { // 提案董事会相关 PropBoard *ProposalBoard `protobuf:"bytes,1,opt,name=propBoard,proto3,oneof"` }
type AutonomyAction_PropChange ¶
type AutonomyAction_PropChange struct { // 提案改变董事会成员 PropChange *ProposalChange `protobuf:"bytes,16,opt,name=propChange,proto3,oneof"` }
type AutonomyAction_PropItem ¶ added in v1.66.0
type AutonomyAction_PropItem struct { //提案事项审核相关 PropItem *ProposalItem `protobuf:"bytes,21,opt,name=propItem,proto3,oneof"` }
type AutonomyAction_PropProject ¶
type AutonomyAction_PropProject struct { // 提案项目相关 PropProject *ProposalProject `protobuf:"bytes,5,opt,name=propProject,proto3,oneof"` }
type AutonomyAction_PropRule ¶
type AutonomyAction_PropRule struct { // 提案规则修改相关 PropRule *ProposalRule `protobuf:"bytes,10,opt,name=propRule,proto3,oneof"` }
type AutonomyAction_PubVotePropProject ¶
type AutonomyAction_PubVotePropProject struct {
PubVotePropProject *PubVoteProposalProject `protobuf:"bytes,8,opt,name=pubVotePropProject,proto3,oneof"`
}
type AutonomyAction_RvkPropBoard ¶
type AutonomyAction_RvkPropBoard struct {
RvkPropBoard *RevokeProposalBoard `protobuf:"bytes,2,opt,name=rvkPropBoard,proto3,oneof"`
}
type AutonomyAction_RvkPropChange ¶
type AutonomyAction_RvkPropChange struct {
RvkPropChange *RevokeProposalChange `protobuf:"bytes,17,opt,name=rvkPropChange,proto3,oneof"`
}
type AutonomyAction_RvkPropItem ¶ added in v1.66.0
type AutonomyAction_RvkPropItem struct {
RvkPropItem *RevokeProposalItem `protobuf:"bytes,22,opt,name=rvkPropItem,proto3,oneof"`
}
type AutonomyAction_RvkPropProject ¶
type AutonomyAction_RvkPropProject struct {
RvkPropProject *RevokeProposalProject `protobuf:"bytes,6,opt,name=rvkPropProject,proto3,oneof"`
}
type AutonomyAction_RvkPropRule ¶
type AutonomyAction_RvkPropRule struct {
RvkPropRule *RevokeProposalRule `protobuf:"bytes,11,opt,name=rvkPropRule,proto3,oneof"`
}
type AutonomyAction_TmintPropBoard ¶
type AutonomyAction_TmintPropBoard struct {
TmintPropBoard *TerminateProposalBoard `protobuf:"bytes,4,opt,name=tmintPropBoard,proto3,oneof"`
}
type AutonomyAction_TmintPropChange ¶
type AutonomyAction_TmintPropChange struct {
TmintPropChange *TerminateProposalChange `protobuf:"bytes,19,opt,name=tmintPropChange,proto3,oneof"`
}
type AutonomyAction_TmintPropItem ¶ added in v1.66.0
type AutonomyAction_TmintPropItem struct {
TmintPropItem *TerminateProposalItem `protobuf:"bytes,24,opt,name=tmintPropItem,proto3,oneof"`
}
type AutonomyAction_TmintPropProject ¶
type AutonomyAction_TmintPropProject struct {
TmintPropProject *TerminateProposalProject `protobuf:"bytes,9,opt,name=tmintPropProject,proto3,oneof"`
}
type AutonomyAction_TmintPropRule ¶
type AutonomyAction_TmintPropRule struct {
TmintPropRule *TerminateProposalRule `protobuf:"bytes,13,opt,name=tmintPropRule,proto3,oneof"`
}
type AutonomyAction_Transfer ¶
type AutonomyAction_Transfer struct { // 发展基金转自治系统合约 Transfer *TransferFund `protobuf:"bytes,14,opt,name=transfer,proto3,oneof"` }
type AutonomyAction_VotePropBoard ¶
type AutonomyAction_VotePropBoard struct {
VotePropBoard *VoteProposalBoard `protobuf:"bytes,3,opt,name=votePropBoard,proto3,oneof"`
}
type AutonomyAction_VotePropChange ¶
type AutonomyAction_VotePropChange struct {
VotePropChange *VoteProposalChange `protobuf:"bytes,18,opt,name=votePropChange,proto3,oneof"`
}
type AutonomyAction_VotePropItem ¶ added in v1.66.0
type AutonomyAction_VotePropItem struct {
VotePropItem *VoteProposalItem `protobuf:"bytes,23,opt,name=votePropItem,proto3,oneof"`
}
type AutonomyAction_VotePropProject ¶
type AutonomyAction_VotePropProject struct {
VotePropProject *VoteProposalProject `protobuf:"bytes,7,opt,name=votePropProject,proto3,oneof"`
}
type AutonomyAction_VotePropRule ¶
type AutonomyAction_VotePropRule struct {
VotePropRule *VoteProposalRule `protobuf:"bytes,12,opt,name=votePropRule,proto3,oneof"`
}
type AutonomyProposalBoard ¶
type AutonomyProposalBoard struct { PropBoard *ProposalBoard `protobuf:"bytes,1,opt,name=propBoard,proto3" json:"propBoard,omitempty"` // 投票该提案的规则 CurRule *RuleConfig `protobuf:"bytes,2,opt,name=curRule,proto3" json:"curRule,omitempty"` // 投票董事会 Board *ActiveBoard `protobuf:"bytes,3,opt,name=board,proto3" json:"board,omitempty"` // 全体持票人投票结果 VoteResult *VoteResult `protobuf:"bytes,4,opt,name=voteResult,proto3" json:"voteResult,omitempty"` // 状态 Status int32 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"` Address string `protobuf:"bytes,6,opt,name=address,proto3" json:"address,omitempty"` Height int64 `protobuf:"varint,7,opt,name=height,proto3" json:"height,omitempty"` Index int32 `protobuf:"varint,8,opt,name=index,proto3" json:"index,omitempty"` ProposalID string `protobuf:"bytes,9,opt,name=proposalID,proto3" json:"proposalID,omitempty"` // contains filtered or unexported fields }
func (*AutonomyProposalBoard) Descriptor
deprecated
func (*AutonomyProposalBoard) Descriptor() ([]byte, []int)
Deprecated: Use AutonomyProposalBoard.ProtoReflect.Descriptor instead.
func (*AutonomyProposalBoard) GetAddress ¶
func (x *AutonomyProposalBoard) GetAddress() string
func (*AutonomyProposalBoard) GetBoard ¶
func (x *AutonomyProposalBoard) GetBoard() *ActiveBoard
func (*AutonomyProposalBoard) GetCurRule ¶
func (x *AutonomyProposalBoard) GetCurRule() *RuleConfig
func (*AutonomyProposalBoard) GetHeight ¶
func (x *AutonomyProposalBoard) GetHeight() int64
func (*AutonomyProposalBoard) GetIndex ¶
func (x *AutonomyProposalBoard) GetIndex() int32
func (*AutonomyProposalBoard) GetPropBoard ¶
func (x *AutonomyProposalBoard) GetPropBoard() *ProposalBoard
func (*AutonomyProposalBoard) GetProposalID ¶
func (x *AutonomyProposalBoard) GetProposalID() string
func (*AutonomyProposalBoard) GetStatus ¶
func (x *AutonomyProposalBoard) GetStatus() int32
func (*AutonomyProposalBoard) GetVoteResult ¶
func (x *AutonomyProposalBoard) GetVoteResult() *VoteResult
func (*AutonomyProposalBoard) ProtoMessage ¶
func (*AutonomyProposalBoard) ProtoMessage()
func (*AutonomyProposalBoard) ProtoReflect ¶ added in v1.65.3
func (x *AutonomyProposalBoard) ProtoReflect() protoreflect.Message
func (*AutonomyProposalBoard) Reset ¶
func (x *AutonomyProposalBoard) Reset()
func (*AutonomyProposalBoard) String ¶
func (x *AutonomyProposalBoard) String() string
type AutonomyProposalChange ¶
type AutonomyProposalChange struct { PropChange *ProposalChange `protobuf:"bytes,1,opt,name=propChange,proto3" json:"propChange,omitempty"` // 投票该提案的规则 CurRule *RuleConfig `protobuf:"bytes,2,opt,name=curRule,proto3" json:"curRule,omitempty"` // 投票董事会 Board *ActiveBoard `protobuf:"bytes,3,opt,name=board,proto3" json:"board,omitempty"` // 全体持票人投票结果 VoteResult *VoteResult `protobuf:"bytes,4,opt,name=voteResult,proto3" json:"voteResult,omitempty"` // 状态 Status int32 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"` Address string `protobuf:"bytes,6,opt,name=address,proto3" json:"address,omitempty"` Height int64 `protobuf:"varint,7,opt,name=height,proto3" json:"height,omitempty"` Index int32 `protobuf:"varint,8,opt,name=index,proto3" json:"index,omitempty"` ProposalID string `protobuf:"bytes,9,opt,name=proposalID,proto3" json:"proposalID,omitempty"` // contains filtered or unexported fields }
func (*AutonomyProposalChange) Descriptor
deprecated
func (*AutonomyProposalChange) Descriptor() ([]byte, []int)
Deprecated: Use AutonomyProposalChange.ProtoReflect.Descriptor instead.
func (*AutonomyProposalChange) GetAddress ¶
func (x *AutonomyProposalChange) GetAddress() string
func (*AutonomyProposalChange) GetBoard ¶
func (x *AutonomyProposalChange) GetBoard() *ActiveBoard
func (*AutonomyProposalChange) GetCurRule ¶
func (x *AutonomyProposalChange) GetCurRule() *RuleConfig
func (*AutonomyProposalChange) GetHeight ¶
func (x *AutonomyProposalChange) GetHeight() int64
func (*AutonomyProposalChange) GetIndex ¶
func (x *AutonomyProposalChange) GetIndex() int32
func (*AutonomyProposalChange) GetPropChange ¶
func (x *AutonomyProposalChange) GetPropChange() *ProposalChange
func (*AutonomyProposalChange) GetProposalID ¶
func (x *AutonomyProposalChange) GetProposalID() string
func (*AutonomyProposalChange) GetStatus ¶
func (x *AutonomyProposalChange) GetStatus() int32
func (*AutonomyProposalChange) GetVoteResult ¶
func (x *AutonomyProposalChange) GetVoteResult() *VoteResult
func (*AutonomyProposalChange) ProtoMessage ¶
func (*AutonomyProposalChange) ProtoMessage()
func (*AutonomyProposalChange) ProtoReflect ¶ added in v1.65.3
func (x *AutonomyProposalChange) ProtoReflect() protoreflect.Message
func (*AutonomyProposalChange) Reset ¶
func (x *AutonomyProposalChange) Reset()
func (*AutonomyProposalChange) String ¶
func (x *AutonomyProposalChange) String() string
type AutonomyProposalItem ¶ added in v1.66.0
type AutonomyProposalItem struct { PropItem *ProposalItem `protobuf:"bytes,1,opt,name=propItem,proto3" json:"propItem,omitempty"` // 投票该提案的规则 CurRule *RuleConfig `protobuf:"bytes,2,opt,name=curRule,proto3" json:"curRule,omitempty"` // 投票该提案的董事会成员 Boards []string `protobuf:"bytes,3,rep,name=boards,proto3" json:"boards,omitempty"` // 董事会投票结果 BoardVoteRes *VoteResult `protobuf:"bytes,4,opt,name=boardVoteRes,proto3" json:"boardVoteRes,omitempty"` // 状态 Status int32 `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"` Address string `protobuf:"bytes,7,opt,name=address,proto3" json:"address,omitempty"` Height int64 `protobuf:"varint,8,opt,name=height,proto3" json:"height,omitempty"` Index int32 `protobuf:"varint,9,opt,name=index,proto3" json:"index,omitempty"` ProposalID string `protobuf:"bytes,10,opt,name=proposalID,proto3" json:"proposalID,omitempty"` // contains filtered or unexported fields }
func (*AutonomyProposalItem) Descriptor
deprecated
added in
v1.66.0
func (*AutonomyProposalItem) Descriptor() ([]byte, []int)
Deprecated: Use AutonomyProposalItem.ProtoReflect.Descriptor instead.
func (*AutonomyProposalItem) GetAddress ¶ added in v1.66.0
func (x *AutonomyProposalItem) GetAddress() string
func (*AutonomyProposalItem) GetBoardVoteRes ¶ added in v1.66.0
func (x *AutonomyProposalItem) GetBoardVoteRes() *VoteResult
func (*AutonomyProposalItem) GetBoards ¶ added in v1.66.0
func (x *AutonomyProposalItem) GetBoards() []string
func (*AutonomyProposalItem) GetCurRule ¶ added in v1.66.0
func (x *AutonomyProposalItem) GetCurRule() *RuleConfig
func (*AutonomyProposalItem) GetHeight ¶ added in v1.66.0
func (x *AutonomyProposalItem) GetHeight() int64
func (*AutonomyProposalItem) GetIndex ¶ added in v1.66.0
func (x *AutonomyProposalItem) GetIndex() int32
func (*AutonomyProposalItem) GetPropItem ¶ added in v1.66.0
func (x *AutonomyProposalItem) GetPropItem() *ProposalItem
func (*AutonomyProposalItem) GetProposalID ¶ added in v1.66.0
func (x *AutonomyProposalItem) GetProposalID() string
func (*AutonomyProposalItem) GetStatus ¶ added in v1.66.0
func (x *AutonomyProposalItem) GetStatus() int32
func (*AutonomyProposalItem) ProtoMessage ¶ added in v1.66.0
func (*AutonomyProposalItem) ProtoMessage()
func (*AutonomyProposalItem) ProtoReflect ¶ added in v1.66.0
func (x *AutonomyProposalItem) ProtoReflect() protoreflect.Message
func (*AutonomyProposalItem) Reset ¶ added in v1.66.0
func (x *AutonomyProposalItem) Reset()
func (*AutonomyProposalItem) String ¶ added in v1.66.0
func (x *AutonomyProposalItem) String() string
type AutonomyProposalProject ¶
type AutonomyProposalProject struct { PropProject *ProposalProject `protobuf:"bytes,1,opt,name=propProject,proto3" json:"propProject,omitempty"` // 投票该提案的规则 CurRule *RuleConfig `protobuf:"bytes,2,opt,name=curRule,proto3" json:"curRule,omitempty"` // 投票该提案的董事会成员 Boards []string `protobuf:"bytes,3,rep,name=boards,proto3" json:"boards,omitempty"` // 董事会投票结果 BoardVoteRes *VoteResult `protobuf:"bytes,4,opt,name=boardVoteRes,proto3" json:"boardVoteRes,omitempty"` // 公示投票 PubVote *PublicVote `protobuf:"bytes,5,opt,name=pubVote,proto3" json:"pubVote,omitempty"` // 状态 Status int32 `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"` Address string `protobuf:"bytes,7,opt,name=address,proto3" json:"address,omitempty"` Height int64 `protobuf:"varint,8,opt,name=height,proto3" json:"height,omitempty"` Index int32 `protobuf:"varint,9,opt,name=index,proto3" json:"index,omitempty"` ProposalID string `protobuf:"bytes,10,opt,name=proposalID,proto3" json:"proposalID,omitempty"` // contains filtered or unexported fields }
func (*AutonomyProposalProject) Descriptor
deprecated
func (*AutonomyProposalProject) Descriptor() ([]byte, []int)
Deprecated: Use AutonomyProposalProject.ProtoReflect.Descriptor instead.
func (*AutonomyProposalProject) GetAddress ¶
func (x *AutonomyProposalProject) GetAddress() string
func (*AutonomyProposalProject) GetBoardVoteRes ¶
func (x *AutonomyProposalProject) GetBoardVoteRes() *VoteResult
func (*AutonomyProposalProject) GetBoards ¶
func (x *AutonomyProposalProject) GetBoards() []string
func (*AutonomyProposalProject) GetCurRule ¶
func (x *AutonomyProposalProject) GetCurRule() *RuleConfig
func (*AutonomyProposalProject) GetHeight ¶
func (x *AutonomyProposalProject) GetHeight() int64
func (*AutonomyProposalProject) GetIndex ¶
func (x *AutonomyProposalProject) GetIndex() int32
func (*AutonomyProposalProject) GetPropProject ¶
func (x *AutonomyProposalProject) GetPropProject() *ProposalProject
func (*AutonomyProposalProject) GetProposalID ¶
func (x *AutonomyProposalProject) GetProposalID() string
func (*AutonomyProposalProject) GetPubVote ¶
func (x *AutonomyProposalProject) GetPubVote() *PublicVote
func (*AutonomyProposalProject) GetStatus ¶
func (x *AutonomyProposalProject) GetStatus() int32
func (*AutonomyProposalProject) ProtoMessage ¶
func (*AutonomyProposalProject) ProtoMessage()
func (*AutonomyProposalProject) ProtoReflect ¶ added in v1.65.3
func (x *AutonomyProposalProject) ProtoReflect() protoreflect.Message
func (*AutonomyProposalProject) Reset ¶
func (x *AutonomyProposalProject) Reset()
func (*AutonomyProposalProject) String ¶
func (x *AutonomyProposalProject) String() string
type AutonomyProposalRule ¶
type AutonomyProposalRule struct { PropRule *ProposalRule `protobuf:"bytes,1,opt,name=propRule,proto3" json:"propRule,omitempty"` CurRule *RuleConfig `protobuf:"bytes,2,opt,name=curRule,proto3" json:"curRule,omitempty"` // 全体持票人投票结果 VoteResult *VoteResult `protobuf:"bytes,3,opt,name=voteResult,proto3" json:"voteResult,omitempty"` // 状态 Status int32 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"` Address string `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"` Height int64 `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"` Index int32 `protobuf:"varint,7,opt,name=index,proto3" json:"index,omitempty"` ProposalID string `protobuf:"bytes,8,opt,name=proposalID,proto3" json:"proposalID,omitempty"` // contains filtered or unexported fields }
func (*AutonomyProposalRule) Descriptor
deprecated
func (*AutonomyProposalRule) Descriptor() ([]byte, []int)
Deprecated: Use AutonomyProposalRule.ProtoReflect.Descriptor instead.
func (*AutonomyProposalRule) GetAddress ¶
func (x *AutonomyProposalRule) GetAddress() string
func (*AutonomyProposalRule) GetCurRule ¶
func (x *AutonomyProposalRule) GetCurRule() *RuleConfig
func (*AutonomyProposalRule) GetHeight ¶
func (x *AutonomyProposalRule) GetHeight() int64
func (*AutonomyProposalRule) GetIndex ¶
func (x *AutonomyProposalRule) GetIndex() int32
func (*AutonomyProposalRule) GetPropRule ¶
func (x *AutonomyProposalRule) GetPropRule() *ProposalRule
func (*AutonomyProposalRule) GetProposalID ¶
func (x *AutonomyProposalRule) GetProposalID() string
func (*AutonomyProposalRule) GetStatus ¶
func (x *AutonomyProposalRule) GetStatus() int32
func (*AutonomyProposalRule) GetVoteResult ¶
func (x *AutonomyProposalRule) GetVoteResult() *VoteResult
func (*AutonomyProposalRule) ProtoMessage ¶
func (*AutonomyProposalRule) ProtoMessage()
func (*AutonomyProposalRule) ProtoReflect ¶ added in v1.65.3
func (x *AutonomyProposalRule) ProtoReflect() protoreflect.Message
func (*AutonomyProposalRule) Reset ¶
func (x *AutonomyProposalRule) Reset()
func (*AutonomyProposalRule) String ¶
func (x *AutonomyProposalRule) String() string
type AutonomyType ¶
type AutonomyType struct {
types.ExecTypeBase
}
AutonomyType 基础类型结构体
func (*AutonomyType) GetLogMap ¶
func (a *AutonomyType) GetLogMap() map[int64]*types.LogInfo
GetLogMap 获得日志类型列表
func (*AutonomyType) GetPayload ¶
func (a *AutonomyType) GetPayload() types.Message
GetPayload 获得空的Unfreeze 的 Payload
func (*AutonomyType) GetTypeMap ¶
func (a *AutonomyType) GetTypeMap() map[string]int32
GetTypeMap 获得Action 方法列表
type AutonomyVoteOption ¶ added in v1.65.3
type AutonomyVoteOption int32
三种投票选项
const ( AutonomyVoteOption_NOJOIN AutonomyVoteOption = 0 //支持 AutonomyVoteOption_APPROVE AutonomyVoteOption = 1 //反对 AutonomyVoteOption_OPPOSE AutonomyVoteOption = 2 //弃权 AutonomyVoteOption_QUIT AutonomyVoteOption = 3 )
func (AutonomyVoteOption) Descriptor ¶ added in v1.65.3
func (AutonomyVoteOption) Descriptor() protoreflect.EnumDescriptor
func (AutonomyVoteOption) Enum ¶ added in v1.65.3
func (x AutonomyVoteOption) Enum() *AutonomyVoteOption
func (AutonomyVoteOption) EnumDescriptor
deprecated
added in
v1.65.3
func (AutonomyVoteOption) EnumDescriptor() ([]byte, []int)
Deprecated: Use AutonomyVoteOption.Descriptor instead.
func (AutonomyVoteOption) Number ¶ added in v1.65.3
func (x AutonomyVoteOption) Number() protoreflect.EnumNumber
func (AutonomyVoteOption) String ¶ added in v1.65.3
func (x AutonomyVoteOption) String() string
func (AutonomyVoteOption) Type ¶ added in v1.65.3
func (AutonomyVoteOption) Type() protoreflect.EnumType
type BoardUpdate ¶ added in v1.65.3
type BoardUpdate int32
const ( BoardUpdate_INV BoardUpdate = 0 //新增 BoardUpdate_ADDBoard BoardUpdate = 1 //剔除 BoardUpdate_DELBoard BoardUpdate = 2 //整体替换 BoardUpdate_REPLACEALL BoardUpdate = 3 )
func (BoardUpdate) Descriptor ¶ added in v1.65.3
func (BoardUpdate) Descriptor() protoreflect.EnumDescriptor
func (BoardUpdate) Enum ¶ added in v1.65.3
func (x BoardUpdate) Enum() *BoardUpdate
func (BoardUpdate) EnumDescriptor
deprecated
added in
v1.65.3
func (BoardUpdate) EnumDescriptor() ([]byte, []int)
Deprecated: Use BoardUpdate.Descriptor instead.
func (BoardUpdate) Number ¶ added in v1.65.3
func (x BoardUpdate) Number() protoreflect.EnumNumber
func (BoardUpdate) String ¶ added in v1.65.3
func (x BoardUpdate) String() string
func (BoardUpdate) Type ¶ added in v1.65.3
func (BoardUpdate) Type() protoreflect.EnumType
type Change ¶
type Change struct { // 1 取消 0 恢复 Cancel bool `protobuf:"varint,1,opt,name=cancel,proto3" json:"cancel,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` // contains filtered or unexported fields }
func (*Change) Descriptor
deprecated
func (*Change) ProtoMessage ¶
func (*Change) ProtoMessage()
func (*Change) ProtoReflect ¶ added in v1.65.3
func (x *Change) ProtoReflect() protoreflect.Message
type Comment ¶
type Comment struct { ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"` RepHash string `protobuf:"bytes,2,opt,name=repHash,proto3" json:"repHash,omitempty"` Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
Comment action
func (*Comment) Descriptor
deprecated
func (*Comment) GetComment ¶
func (*Comment) GetProposalID ¶
func (*Comment) GetRepHash ¶
func (*Comment) ProtoMessage ¶
func (*Comment) ProtoMessage()
func (*Comment) ProtoReflect ¶ added in v1.65.3
func (x *Comment) ProtoReflect() protoreflect.Message
type LocalProposalBoard ¶
type LocalProposalBoard struct { PropBd *AutonomyProposalBoard `protobuf:"bytes,1,opt,name=propBd,proto3" json:"propBd,omitempty"` Comments []string `protobuf:"bytes,2,rep,name=comments,proto3" json:"comments,omitempty"` // contains filtered or unexported fields }
func (*LocalProposalBoard) Descriptor
deprecated
func (*LocalProposalBoard) Descriptor() ([]byte, []int)
Deprecated: Use LocalProposalBoard.ProtoReflect.Descriptor instead.
func (*LocalProposalBoard) GetComments ¶
func (x *LocalProposalBoard) GetComments() []string
func (*LocalProposalBoard) GetPropBd ¶
func (x *LocalProposalBoard) GetPropBd() *AutonomyProposalBoard
func (*LocalProposalBoard) ProtoMessage ¶
func (*LocalProposalBoard) ProtoMessage()
func (*LocalProposalBoard) ProtoReflect ¶ added in v1.65.3
func (x *LocalProposalBoard) ProtoReflect() protoreflect.Message
func (*LocalProposalBoard) Reset ¶
func (x *LocalProposalBoard) Reset()
func (*LocalProposalBoard) String ¶
func (x *LocalProposalBoard) String() string
type LocalProposalChange ¶
type LocalProposalChange struct { PropBd *AutonomyProposalChange `protobuf:"bytes,1,opt,name=propBd,proto3" json:"propBd,omitempty"` Comments []string `protobuf:"bytes,2,rep,name=comments,proto3" json:"comments,omitempty"` // contains filtered or unexported fields }
func (*LocalProposalChange) Descriptor
deprecated
func (*LocalProposalChange) Descriptor() ([]byte, []int)
Deprecated: Use LocalProposalChange.ProtoReflect.Descriptor instead.
func (*LocalProposalChange) GetComments ¶
func (x *LocalProposalChange) GetComments() []string
func (*LocalProposalChange) GetPropBd ¶
func (x *LocalProposalChange) GetPropBd() *AutonomyProposalChange
func (*LocalProposalChange) ProtoMessage ¶
func (*LocalProposalChange) ProtoMessage()
func (*LocalProposalChange) ProtoReflect ¶ added in v1.65.3
func (x *LocalProposalChange) ProtoReflect() protoreflect.Message
func (*LocalProposalChange) Reset ¶
func (x *LocalProposalChange) Reset()
func (*LocalProposalChange) String ¶
func (x *LocalProposalChange) String() string
type LocalProposalItem ¶ added in v1.66.0
type LocalProposalItem struct { PropItem *AutonomyProposalItem `protobuf:"bytes,1,opt,name=propItem,proto3" json:"propItem,omitempty"` Comments []string `protobuf:"bytes,2,rep,name=comments,proto3" json:"comments,omitempty"` // contains filtered or unexported fields }
func (*LocalProposalItem) Descriptor
deprecated
added in
v1.66.0
func (*LocalProposalItem) Descriptor() ([]byte, []int)
Deprecated: Use LocalProposalItem.ProtoReflect.Descriptor instead.
func (*LocalProposalItem) GetComments ¶ added in v1.66.0
func (x *LocalProposalItem) GetComments() []string
func (*LocalProposalItem) GetPropItem ¶ added in v1.66.0
func (x *LocalProposalItem) GetPropItem() *AutonomyProposalItem
func (*LocalProposalItem) ProtoMessage ¶ added in v1.66.0
func (*LocalProposalItem) ProtoMessage()
func (*LocalProposalItem) ProtoReflect ¶ added in v1.66.0
func (x *LocalProposalItem) ProtoReflect() protoreflect.Message
func (*LocalProposalItem) Reset ¶ added in v1.66.0
func (x *LocalProposalItem) Reset()
func (*LocalProposalItem) String ¶ added in v1.66.0
func (x *LocalProposalItem) String() string
type LocalProposalProject ¶
type LocalProposalProject struct { PropPrj *AutonomyProposalProject `protobuf:"bytes,1,opt,name=propPrj,proto3" json:"propPrj,omitempty"` Comments []string `protobuf:"bytes,2,rep,name=comments,proto3" json:"comments,omitempty"` // contains filtered or unexported fields }
func (*LocalProposalProject) Descriptor
deprecated
func (*LocalProposalProject) Descriptor() ([]byte, []int)
Deprecated: Use LocalProposalProject.ProtoReflect.Descriptor instead.
func (*LocalProposalProject) GetComments ¶
func (x *LocalProposalProject) GetComments() []string
func (*LocalProposalProject) GetPropPrj ¶
func (x *LocalProposalProject) GetPropPrj() *AutonomyProposalProject
func (*LocalProposalProject) ProtoMessage ¶
func (*LocalProposalProject) ProtoMessage()
func (*LocalProposalProject) ProtoReflect ¶ added in v1.65.3
func (x *LocalProposalProject) ProtoReflect() protoreflect.Message
func (*LocalProposalProject) Reset ¶
func (x *LocalProposalProject) Reset()
func (*LocalProposalProject) String ¶
func (x *LocalProposalProject) String() string
type LocalProposalRule ¶
type LocalProposalRule struct { PropRule *AutonomyProposalRule `protobuf:"bytes,1,opt,name=propRule,proto3" json:"propRule,omitempty"` Comments []string `protobuf:"bytes,2,rep,name=comments,proto3" json:"comments,omitempty"` // contains filtered or unexported fields }
func (*LocalProposalRule) Descriptor
deprecated
func (*LocalProposalRule) Descriptor() ([]byte, []int)
Deprecated: Use LocalProposalRule.ProtoReflect.Descriptor instead.
func (*LocalProposalRule) GetComments ¶
func (x *LocalProposalRule) GetComments() []string
func (*LocalProposalRule) GetPropRule ¶
func (x *LocalProposalRule) GetPropRule() *AutonomyProposalRule
func (*LocalProposalRule) ProtoMessage ¶
func (*LocalProposalRule) ProtoMessage()
func (*LocalProposalRule) ProtoReflect ¶ added in v1.65.3
func (x *LocalProposalRule) ProtoReflect() protoreflect.Message
func (*LocalProposalRule) Reset ¶
func (x *LocalProposalRule) Reset()
func (*LocalProposalRule) String ¶
func (x *LocalProposalRule) String() string
type ProposalBoard ¶
type ProposalBoard struct { // 提案时间 Year int32 `protobuf:"varint,1,opt,name=year,proto3" json:"year,omitempty"` Month int32 `protobuf:"varint,2,opt,name=month,proto3" json:"month,omitempty"` Day int32 `protobuf:"varint,3,opt,name=day,proto3" json:"day,omitempty"` // 是否更新 Update bool `protobuf:"varint,4,opt,name=update,proto3" json:"update,omitempty"` // 提案董事会成员 Boards []string `protobuf:"bytes,5,rep,name=boards,proto3" json:"boards,omitempty"` // 投票相关 StartBlockHeight int64 `protobuf:"varint,6,opt,name=startBlockHeight,proto3" json:"startBlockHeight,omitempty"` // 提案开始投票高度 EndBlockHeight int64 `protobuf:"varint,7,opt,name=endBlockHeight,proto3" json:"endBlockHeight,omitempty"` // 提案结束投票高度 RealEndBlockHeight int64 `protobuf:"varint,8,opt,name=realEndBlockHeight,proto3" json:"realEndBlockHeight,omitempty"` // 实际提案结束投票高度 //代替update,并扩展 BoardUpdate BoardUpdate `protobuf:"varint,9,opt,name=boardUpdate,proto3,enum=types.BoardUpdate" json:"boardUpdate,omitempty"` // contains filtered or unexported fields }
action
func (*ProposalBoard) Descriptor
deprecated
func (*ProposalBoard) Descriptor() ([]byte, []int)
Deprecated: Use ProposalBoard.ProtoReflect.Descriptor instead.
func (*ProposalBoard) GetBoardUpdate ¶ added in v1.65.3
func (x *ProposalBoard) GetBoardUpdate() BoardUpdate
func (*ProposalBoard) GetBoards ¶
func (x *ProposalBoard) GetBoards() []string
func (*ProposalBoard) GetDay ¶
func (x *ProposalBoard) GetDay() int32
func (*ProposalBoard) GetEndBlockHeight ¶
func (x *ProposalBoard) GetEndBlockHeight() int64
func (*ProposalBoard) GetMonth ¶
func (x *ProposalBoard) GetMonth() int32
func (*ProposalBoard) GetRealEndBlockHeight ¶
func (x *ProposalBoard) GetRealEndBlockHeight() int64
func (*ProposalBoard) GetStartBlockHeight ¶
func (x *ProposalBoard) GetStartBlockHeight() int64
func (*ProposalBoard) GetUpdate ¶
func (x *ProposalBoard) GetUpdate() bool
func (*ProposalBoard) GetYear ¶
func (x *ProposalBoard) GetYear() int32
func (*ProposalBoard) ProtoMessage ¶
func (*ProposalBoard) ProtoMessage()
func (*ProposalBoard) ProtoReflect ¶ added in v1.65.3
func (x *ProposalBoard) ProtoReflect() protoreflect.Message
func (*ProposalBoard) Reset ¶
func (x *ProposalBoard) Reset()
func (*ProposalBoard) String ¶
func (x *ProposalBoard) String() string
type ProposalChange ¶
type ProposalChange struct { // 提案时间 Year int32 `protobuf:"varint,1,opt,name=year,proto3" json:"year,omitempty"` Month int32 `protobuf:"varint,2,opt,name=month,proto3" json:"month,omitempty"` Day int32 `protobuf:"varint,3,opt,name=day,proto3" json:"day,omitempty"` // 修改董事会成员 Changes []*Change `protobuf:"bytes,4,rep,name=changes,proto3" json:"changes,omitempty"` // 投票相关 StartBlockHeight int64 `protobuf:"varint,5,opt,name=startBlockHeight,proto3" json:"startBlockHeight,omitempty"` // 提案开始投票高度 EndBlockHeight int64 `protobuf:"varint,6,opt,name=endBlockHeight,proto3" json:"endBlockHeight,omitempty"` // 提案结束投票高度 RealEndBlockHeight int64 `protobuf:"varint,7,opt,name=realEndBlockHeight,proto3" json:"realEndBlockHeight,omitempty"` // 实际提案结束投票高度 // contains filtered or unexported fields }
action
func (*ProposalChange) Descriptor
deprecated
func (*ProposalChange) Descriptor() ([]byte, []int)
Deprecated: Use ProposalChange.ProtoReflect.Descriptor instead.
func (*ProposalChange) GetChanges ¶
func (x *ProposalChange) GetChanges() []*Change
func (*ProposalChange) GetDay ¶
func (x *ProposalChange) GetDay() int32
func (*ProposalChange) GetEndBlockHeight ¶
func (x *ProposalChange) GetEndBlockHeight() int64
func (*ProposalChange) GetMonth ¶
func (x *ProposalChange) GetMonth() int32
func (*ProposalChange) GetRealEndBlockHeight ¶
func (x *ProposalChange) GetRealEndBlockHeight() int64
func (*ProposalChange) GetStartBlockHeight ¶
func (x *ProposalChange) GetStartBlockHeight() int64
func (*ProposalChange) GetYear ¶
func (x *ProposalChange) GetYear() int32
func (*ProposalChange) ProtoMessage ¶
func (*ProposalChange) ProtoMessage()
func (*ProposalChange) ProtoReflect ¶ added in v1.65.3
func (x *ProposalChange) ProtoReflect() protoreflect.Message
func (*ProposalChange) Reset ¶
func (x *ProposalChange) Reset()
func (*ProposalChange) String ¶
func (x *ProposalChange) String() string
type ProposalItem ¶ added in v1.66.0
type ProposalItem struct { // 提案时间 Year int32 `protobuf:"varint,1,opt,name=year,proto3" json:"year,omitempty"` Month int32 `protobuf:"varint,2,opt,name=month,proto3" json:"month,omitempty"` Day int32 `protobuf:"varint,3,opt,name=day,proto3" json:"day,omitempty"` // 项目相关 ItemTxHash string `protobuf:"bytes,4,opt,name=itemTxHash,proto3" json:"itemTxHash,omitempty"` // item tx hash Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // 简述 // 投票相关 StartBlockHeight int64 `protobuf:"varint,12,opt,name=startBlockHeight,proto3" json:"startBlockHeight,omitempty"` // 提案开始投票高度 EndBlockHeight int64 `protobuf:"varint,13,opt,name=endBlockHeight,proto3" json:"endBlockHeight,omitempty"` // 提案结束投票高度 RealEndBlockHeight int64 `protobuf:"varint,14,opt,name=realEndBlockHeight,proto3" json:"realEndBlockHeight,omitempty"` // 实际提案结束投票高度 ProjectNeedBlockNum int32 `protobuf:"varint,15,opt,name=projectNeedBlockNum,proto3" json:"projectNeedBlockNum,omitempty"` // 以提案结束投票高度为准,需要项目需要消耗的区块数目所对应的时间 // contains filtered or unexported fields }
func (*ProposalItem) Descriptor
deprecated
added in
v1.66.0
func (*ProposalItem) Descriptor() ([]byte, []int)
Deprecated: Use ProposalItem.ProtoReflect.Descriptor instead.
func (*ProposalItem) GetDay ¶ added in v1.66.0
func (x *ProposalItem) GetDay() int32
func (*ProposalItem) GetDescription ¶ added in v1.66.0
func (x *ProposalItem) GetDescription() string
func (*ProposalItem) GetEndBlockHeight ¶ added in v1.66.0
func (x *ProposalItem) GetEndBlockHeight() int64
func (*ProposalItem) GetItemTxHash ¶ added in v1.66.0
func (x *ProposalItem) GetItemTxHash() string
func (*ProposalItem) GetMonth ¶ added in v1.66.0
func (x *ProposalItem) GetMonth() int32
func (*ProposalItem) GetProjectNeedBlockNum ¶ added in v1.66.0
func (x *ProposalItem) GetProjectNeedBlockNum() int32
func (*ProposalItem) GetRealEndBlockHeight ¶ added in v1.66.0
func (x *ProposalItem) GetRealEndBlockHeight() int64
func (*ProposalItem) GetStartBlockHeight ¶ added in v1.66.0
func (x *ProposalItem) GetStartBlockHeight() int64
func (*ProposalItem) GetYear ¶ added in v1.66.0
func (x *ProposalItem) GetYear() int32
func (*ProposalItem) ProtoMessage ¶ added in v1.66.0
func (*ProposalItem) ProtoMessage()
func (*ProposalItem) ProtoReflect ¶ added in v1.66.0
func (x *ProposalItem) ProtoReflect() protoreflect.Message
func (*ProposalItem) Reset ¶ added in v1.66.0
func (x *ProposalItem) Reset()
func (*ProposalItem) String ¶ added in v1.66.0
func (x *ProposalItem) String() string
type ProposalProject ¶
type ProposalProject struct { // 提案时间 Year int32 `protobuf:"varint,1,opt,name=year,proto3" json:"year,omitempty"` Month int32 `protobuf:"varint,2,opt,name=month,proto3" json:"month,omitempty"` Day int32 `protobuf:"varint,3,opt,name=day,proto3" json:"day,omitempty"` // 项目相关 FirstStage string `protobuf:"bytes,4,opt,name=firstStage,proto3" json:"firstStage,omitempty"` // 第一阶段提案项目hash LastStage string `protobuf:"bytes,5,opt,name=lastStage,proto3" json:"lastStage,omitempty"` // 上一阶段提案项目hash Production string `protobuf:"bytes,6,opt,name=production,proto3" json:"production,omitempty"` // 项目地址 Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"` // 项目阶段性简述 Contractor string `protobuf:"bytes,8,opt,name=contractor,proto3" json:"contractor,omitempty"` // 承包人 Amount int64 `protobuf:"varint,9,opt,name=amount,proto3" json:"amount,omitempty"` // 项目经费 AmountDetail string `protobuf:"bytes,10,opt,name=amountDetail,proto3" json:"amountDetail,omitempty"` // 经费细则 // 支付相关 ToAddr string `protobuf:"bytes,11,opt,name=toAddr,proto3" json:"toAddr,omitempty"` // 收款地址 // 投票相关 StartBlockHeight int64 `protobuf:"varint,12,opt,name=startBlockHeight,proto3" json:"startBlockHeight,omitempty"` // 提案开始投票高度 EndBlockHeight int64 `protobuf:"varint,13,opt,name=endBlockHeight,proto3" json:"endBlockHeight,omitempty"` // 提案结束投票高度 RealEndBlockHeight int64 `protobuf:"varint,14,opt,name=realEndBlockHeight,proto3" json:"realEndBlockHeight,omitempty"` // 实际提案结束投票高度 ProjectNeedBlockNum int32 `protobuf:"varint,15,opt,name=projectNeedBlockNum,proto3" json:"projectNeedBlockNum,omitempty"` // 以提案结束投票高度为准,需要项目需要消耗的区块数目所对应的时间 // contains filtered or unexported fields }
func (*ProposalProject) Descriptor
deprecated
func (*ProposalProject) Descriptor() ([]byte, []int)
Deprecated: Use ProposalProject.ProtoReflect.Descriptor instead.
func (*ProposalProject) GetAmount ¶
func (x *ProposalProject) GetAmount() int64
func (*ProposalProject) GetAmountDetail ¶
func (x *ProposalProject) GetAmountDetail() string
func (*ProposalProject) GetContractor ¶
func (x *ProposalProject) GetContractor() string
func (*ProposalProject) GetDay ¶
func (x *ProposalProject) GetDay() int32
func (*ProposalProject) GetDescription ¶
func (x *ProposalProject) GetDescription() string
func (*ProposalProject) GetEndBlockHeight ¶
func (x *ProposalProject) GetEndBlockHeight() int64
func (*ProposalProject) GetFirstStage ¶
func (x *ProposalProject) GetFirstStage() string
func (*ProposalProject) GetLastStage ¶
func (x *ProposalProject) GetLastStage() string
func (*ProposalProject) GetMonth ¶
func (x *ProposalProject) GetMonth() int32
func (*ProposalProject) GetProduction ¶
func (x *ProposalProject) GetProduction() string
func (*ProposalProject) GetProjectNeedBlockNum ¶
func (x *ProposalProject) GetProjectNeedBlockNum() int32
func (*ProposalProject) GetRealEndBlockHeight ¶
func (x *ProposalProject) GetRealEndBlockHeight() int64
func (*ProposalProject) GetStartBlockHeight ¶
func (x *ProposalProject) GetStartBlockHeight() int64
func (*ProposalProject) GetToAddr ¶
func (x *ProposalProject) GetToAddr() string
func (*ProposalProject) GetYear ¶
func (x *ProposalProject) GetYear() int32
func (*ProposalProject) ProtoMessage ¶
func (*ProposalProject) ProtoMessage()
func (*ProposalProject) ProtoReflect ¶ added in v1.65.3
func (x *ProposalProject) ProtoReflect() protoreflect.Message
func (*ProposalProject) Reset ¶
func (x *ProposalProject) Reset()
func (*ProposalProject) String ¶
func (x *ProposalProject) String() string
type ProposalRule ¶
type ProposalRule struct { // 提案时间 Year int32 `protobuf:"varint,1,opt,name=year,proto3" json:"year,omitempty"` Month int32 `protobuf:"varint,2,opt,name=month,proto3" json:"month,omitempty"` Day int32 `protobuf:"varint,3,opt,name=day,proto3" json:"day,omitempty"` // 规则可修改项,如果某项不修改则置为-1 RuleCfg *RuleConfig `protobuf:"bytes,4,opt,name=ruleCfg,proto3" json:"ruleCfg,omitempty"` // 投票相关 StartBlockHeight int64 `protobuf:"varint,5,opt,name=startBlockHeight,proto3" json:"startBlockHeight,omitempty"` // 提案开始投票高度 EndBlockHeight int64 `protobuf:"varint,6,opt,name=endBlockHeight,proto3" json:"endBlockHeight,omitempty"` // 提案结束投票高度 RealEndBlockHeight int64 `protobuf:"varint,7,opt,name=realEndBlockHeight,proto3" json:"realEndBlockHeight,omitempty"` // 实际提案结束投票高度 // contains filtered or unexported fields }
func (*ProposalRule) Descriptor
deprecated
func (*ProposalRule) Descriptor() ([]byte, []int)
Deprecated: Use ProposalRule.ProtoReflect.Descriptor instead.
func (*ProposalRule) GetDay ¶
func (x *ProposalRule) GetDay() int32
func (*ProposalRule) GetEndBlockHeight ¶
func (x *ProposalRule) GetEndBlockHeight() int64
func (*ProposalRule) GetMonth ¶
func (x *ProposalRule) GetMonth() int32
func (*ProposalRule) GetRealEndBlockHeight ¶
func (x *ProposalRule) GetRealEndBlockHeight() int64
func (*ProposalRule) GetRuleCfg ¶
func (x *ProposalRule) GetRuleCfg() *RuleConfig
func (*ProposalRule) GetStartBlockHeight ¶
func (x *ProposalRule) GetStartBlockHeight() int64
func (*ProposalRule) GetYear ¶
func (x *ProposalRule) GetYear() int32
func (*ProposalRule) ProtoMessage ¶
func (*ProposalRule) ProtoMessage()
func (*ProposalRule) ProtoReflect ¶ added in v1.65.3
func (x *ProposalRule) ProtoReflect() protoreflect.Message
func (*ProposalRule) Reset ¶
func (x *ProposalRule) Reset()
func (*ProposalRule) String ¶
func (x *ProposalRule) String() string
type PubVoteProposalProject ¶
type PubVoteProposalProject struct { ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"` Oppose bool `protobuf:"varint,2,opt,name=oppose,proto3" json:"oppose,omitempty"` OriginAddr []string `protobuf:"bytes,3,rep,name=originAddr,proto3" json:"originAddr,omitempty"` // contains filtered or unexported fields }
func (*PubVoteProposalProject) Descriptor
deprecated
func (*PubVoteProposalProject) Descriptor() ([]byte, []int)
Deprecated: Use PubVoteProposalProject.ProtoReflect.Descriptor instead.
func (*PubVoteProposalProject) GetOppose ¶
func (x *PubVoteProposalProject) GetOppose() bool
func (*PubVoteProposalProject) GetOriginAddr ¶
func (x *PubVoteProposalProject) GetOriginAddr() []string
func (*PubVoteProposalProject) GetProposalID ¶
func (x *PubVoteProposalProject) GetProposalID() string
func (*PubVoteProposalProject) ProtoMessage ¶
func (*PubVoteProposalProject) ProtoMessage()
func (*PubVoteProposalProject) ProtoReflect ¶ added in v1.65.3
func (x *PubVoteProposalProject) ProtoReflect() protoreflect.Message
func (*PubVoteProposalProject) Reset ¶
func (x *PubVoteProposalProject) Reset()
func (*PubVoteProposalProject) String ¶
func (x *PubVoteProposalProject) String() string
type PublicVote ¶
type PublicVote struct { // 是否需要公示 Publicity bool `protobuf:"varint,1,opt,name=publicity,proto3" json:"publicity,omitempty"` // 总票数 TotalVotes int32 `protobuf:"varint,2,opt,name=totalVotes,proto3" json:"totalVotes,omitempty"` // 全体持票人反对票 OpposeVotes int32 `protobuf:"varint,3,opt,name=opposeVotes,proto3" json:"opposeVotes,omitempty"` // 是否通过 PubPass bool `protobuf:"varint,4,opt,name=pubPass,proto3" json:"pubPass,omitempty"` // contains filtered or unexported fields }
func (*PublicVote) Descriptor
deprecated
func (*PublicVote) Descriptor() ([]byte, []int)
Deprecated: Use PublicVote.ProtoReflect.Descriptor instead.
func (*PublicVote) GetOpposeVotes ¶
func (x *PublicVote) GetOpposeVotes() int32
func (*PublicVote) GetPubPass ¶
func (x *PublicVote) GetPubPass() bool
func (*PublicVote) GetPublicity ¶
func (x *PublicVote) GetPublicity() bool
func (*PublicVote) GetTotalVotes ¶
func (x *PublicVote) GetTotalVotes() int32
func (*PublicVote) ProtoMessage ¶
func (*PublicVote) ProtoMessage()
func (*PublicVote) ProtoReflect ¶ added in v1.65.3
func (x *PublicVote) ProtoReflect() protoreflect.Message
func (*PublicVote) Reset ¶
func (x *PublicVote) Reset()
func (*PublicVote) String ¶
func (x *PublicVote) String() string
type ReceiptProposalBoard ¶
type ReceiptProposalBoard struct { Prev *AutonomyProposalBoard `protobuf:"bytes,1,opt,name=prev,proto3" json:"prev,omitempty"` Current *AutonomyProposalBoard `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"` // contains filtered or unexported fields }
receipt
func (*ReceiptProposalBoard) Descriptor
deprecated
func (*ReceiptProposalBoard) Descriptor() ([]byte, []int)
Deprecated: Use ReceiptProposalBoard.ProtoReflect.Descriptor instead.
func (*ReceiptProposalBoard) GetCurrent ¶
func (x *ReceiptProposalBoard) GetCurrent() *AutonomyProposalBoard
func (*ReceiptProposalBoard) GetPrev ¶
func (x *ReceiptProposalBoard) GetPrev() *AutonomyProposalBoard
func (*ReceiptProposalBoard) ProtoMessage ¶
func (*ReceiptProposalBoard) ProtoMessage()
func (*ReceiptProposalBoard) ProtoReflect ¶ added in v1.65.3
func (x *ReceiptProposalBoard) ProtoReflect() protoreflect.Message
func (*ReceiptProposalBoard) Reset ¶
func (x *ReceiptProposalBoard) Reset()
func (*ReceiptProposalBoard) String ¶
func (x *ReceiptProposalBoard) String() string
type ReceiptProposalChange ¶
type ReceiptProposalChange struct { Prev *AutonomyProposalChange `protobuf:"bytes,1,opt,name=prev,proto3" json:"prev,omitempty"` Current *AutonomyProposalChange `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"` // contains filtered or unexported fields }
receipt
func (*ReceiptProposalChange) Descriptor
deprecated
func (*ReceiptProposalChange) Descriptor() ([]byte, []int)
Deprecated: Use ReceiptProposalChange.ProtoReflect.Descriptor instead.
func (*ReceiptProposalChange) GetCurrent ¶
func (x *ReceiptProposalChange) GetCurrent() *AutonomyProposalChange
func (*ReceiptProposalChange) GetPrev ¶
func (x *ReceiptProposalChange) GetPrev() *AutonomyProposalChange
func (*ReceiptProposalChange) ProtoMessage ¶
func (*ReceiptProposalChange) ProtoMessage()
func (*ReceiptProposalChange) ProtoReflect ¶ added in v1.65.3
func (x *ReceiptProposalChange) ProtoReflect() protoreflect.Message
func (*ReceiptProposalChange) Reset ¶
func (x *ReceiptProposalChange) Reset()
func (*ReceiptProposalChange) String ¶
func (x *ReceiptProposalChange) String() string
type ReceiptProposalComment ¶
type ReceiptProposalComment struct { Cmt *Comment `protobuf:"bytes,1,opt,name=cmt,proto3" json:"cmt,omitempty"` Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` Index int32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` Hash string `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
func (*ReceiptProposalComment) Descriptor
deprecated
func (*ReceiptProposalComment) Descriptor() ([]byte, []int)
Deprecated: Use ReceiptProposalComment.ProtoReflect.Descriptor instead.
func (*ReceiptProposalComment) GetCmt ¶
func (x *ReceiptProposalComment) GetCmt() *Comment
func (*ReceiptProposalComment) GetHash ¶
func (x *ReceiptProposalComment) GetHash() string
func (*ReceiptProposalComment) GetHeight ¶
func (x *ReceiptProposalComment) GetHeight() int64
func (*ReceiptProposalComment) GetIndex ¶
func (x *ReceiptProposalComment) GetIndex() int32
func (*ReceiptProposalComment) ProtoMessage ¶
func (*ReceiptProposalComment) ProtoMessage()
func (*ReceiptProposalComment) ProtoReflect ¶ added in v1.65.3
func (x *ReceiptProposalComment) ProtoReflect() protoreflect.Message
func (*ReceiptProposalComment) Reset ¶
func (x *ReceiptProposalComment) Reset()
func (*ReceiptProposalComment) String ¶
func (x *ReceiptProposalComment) String() string
type ReceiptProposalItem ¶ added in v1.66.0
type ReceiptProposalItem struct { Prev *AutonomyProposalItem `protobuf:"bytes,1,opt,name=prev,proto3" json:"prev,omitempty"` Current *AutonomyProposalItem `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"` // contains filtered or unexported fields }
receipt
func (*ReceiptProposalItem) Descriptor
deprecated
added in
v1.66.0
func (*ReceiptProposalItem) Descriptor() ([]byte, []int)
Deprecated: Use ReceiptProposalItem.ProtoReflect.Descriptor instead.
func (*ReceiptProposalItem) GetCurrent ¶ added in v1.66.0
func (x *ReceiptProposalItem) GetCurrent() *AutonomyProposalItem
func (*ReceiptProposalItem) GetPrev ¶ added in v1.66.0
func (x *ReceiptProposalItem) GetPrev() *AutonomyProposalItem
func (*ReceiptProposalItem) ProtoMessage ¶ added in v1.66.0
func (*ReceiptProposalItem) ProtoMessage()
func (*ReceiptProposalItem) ProtoReflect ¶ added in v1.66.0
func (x *ReceiptProposalItem) ProtoReflect() protoreflect.Message
func (*ReceiptProposalItem) Reset ¶ added in v1.66.0
func (x *ReceiptProposalItem) Reset()
func (*ReceiptProposalItem) String ¶ added in v1.66.0
func (x *ReceiptProposalItem) String() string
type ReceiptProposalProject ¶
type ReceiptProposalProject struct { Prev *AutonomyProposalProject `protobuf:"bytes,1,opt,name=prev,proto3" json:"prev,omitempty"` Current *AutonomyProposalProject `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"` // contains filtered or unexported fields }
receipt
func (*ReceiptProposalProject) Descriptor
deprecated
func (*ReceiptProposalProject) Descriptor() ([]byte, []int)
Deprecated: Use ReceiptProposalProject.ProtoReflect.Descriptor instead.
func (*ReceiptProposalProject) GetCurrent ¶
func (x *ReceiptProposalProject) GetCurrent() *AutonomyProposalProject
func (*ReceiptProposalProject) GetPrev ¶
func (x *ReceiptProposalProject) GetPrev() *AutonomyProposalProject
func (*ReceiptProposalProject) ProtoMessage ¶
func (*ReceiptProposalProject) ProtoMessage()
func (*ReceiptProposalProject) ProtoReflect ¶ added in v1.65.3
func (x *ReceiptProposalProject) ProtoReflect() protoreflect.Message
func (*ReceiptProposalProject) Reset ¶
func (x *ReceiptProposalProject) Reset()
func (*ReceiptProposalProject) String ¶
func (x *ReceiptProposalProject) String() string
type ReceiptProposalRule ¶
type ReceiptProposalRule struct { Prev *AutonomyProposalRule `protobuf:"bytes,1,opt,name=prev,proto3" json:"prev,omitempty"` Current *AutonomyProposalRule `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"` // contains filtered or unexported fields }
receipt
func (*ReceiptProposalRule) Descriptor
deprecated
func (*ReceiptProposalRule) Descriptor() ([]byte, []int)
Deprecated: Use ReceiptProposalRule.ProtoReflect.Descriptor instead.
func (*ReceiptProposalRule) GetCurrent ¶
func (x *ReceiptProposalRule) GetCurrent() *AutonomyProposalRule
func (*ReceiptProposalRule) GetPrev ¶
func (x *ReceiptProposalRule) GetPrev() *AutonomyProposalRule
func (*ReceiptProposalRule) ProtoMessage ¶
func (*ReceiptProposalRule) ProtoMessage()
func (*ReceiptProposalRule) ProtoReflect ¶ added in v1.65.3
func (x *ReceiptProposalRule) ProtoReflect() protoreflect.Message
func (*ReceiptProposalRule) Reset ¶
func (x *ReceiptProposalRule) Reset()
func (*ReceiptProposalRule) String ¶
func (x *ReceiptProposalRule) String() string
type RelationCmt ¶
type RelationCmt struct { RepHash string `protobuf:"bytes,1,opt,name=repHash,proto3" json:"repHash,omitempty"` Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"` Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` Index int32 `protobuf:"varint,4,opt,name=index,proto3" json:"index,omitempty"` Hash string `protobuf:"bytes,5,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
func (*RelationCmt) Descriptor
deprecated
func (*RelationCmt) Descriptor() ([]byte, []int)
Deprecated: Use RelationCmt.ProtoReflect.Descriptor instead.
func (*RelationCmt) GetComment ¶
func (x *RelationCmt) GetComment() string
func (*RelationCmt) GetHash ¶
func (x *RelationCmt) GetHash() string
func (*RelationCmt) GetHeight ¶
func (x *RelationCmt) GetHeight() int64
func (*RelationCmt) GetIndex ¶
func (x *RelationCmt) GetIndex() int32
func (*RelationCmt) GetRepHash ¶
func (x *RelationCmt) GetRepHash() string
func (*RelationCmt) ProtoMessage ¶
func (*RelationCmt) ProtoMessage()
func (*RelationCmt) ProtoReflect ¶ added in v1.65.3
func (x *RelationCmt) ProtoReflect() protoreflect.Message
func (*RelationCmt) Reset ¶
func (x *RelationCmt) Reset()
func (*RelationCmt) String ¶
func (x *RelationCmt) String() string
type ReplyQueryProposalBoard ¶
type ReplyQueryProposalBoard struct { PropBoards []*AutonomyProposalBoard `protobuf:"bytes,1,rep,name=propBoards,proto3" json:"propBoards,omitempty"` // contains filtered or unexported fields }
func (*ReplyQueryProposalBoard) Descriptor
deprecated
func (*ReplyQueryProposalBoard) Descriptor() ([]byte, []int)
Deprecated: Use ReplyQueryProposalBoard.ProtoReflect.Descriptor instead.
func (*ReplyQueryProposalBoard) GetPropBoards ¶
func (x *ReplyQueryProposalBoard) GetPropBoards() []*AutonomyProposalBoard
func (*ReplyQueryProposalBoard) ProtoMessage ¶
func (*ReplyQueryProposalBoard) ProtoMessage()
func (*ReplyQueryProposalBoard) ProtoReflect ¶ added in v1.65.3
func (x *ReplyQueryProposalBoard) ProtoReflect() protoreflect.Message
func (*ReplyQueryProposalBoard) Reset ¶
func (x *ReplyQueryProposalBoard) Reset()
func (*ReplyQueryProposalBoard) String ¶
func (x *ReplyQueryProposalBoard) String() string
type ReplyQueryProposalChange ¶
type ReplyQueryProposalChange struct { PropChanges []*AutonomyProposalChange `protobuf:"bytes,1,rep,name=propChanges,proto3" json:"propChanges,omitempty"` // contains filtered or unexported fields }
func (*ReplyQueryProposalChange) Descriptor
deprecated
func (*ReplyQueryProposalChange) Descriptor() ([]byte, []int)
Deprecated: Use ReplyQueryProposalChange.ProtoReflect.Descriptor instead.
func (*ReplyQueryProposalChange) GetPropChanges ¶
func (x *ReplyQueryProposalChange) GetPropChanges() []*AutonomyProposalChange
func (*ReplyQueryProposalChange) ProtoMessage ¶
func (*ReplyQueryProposalChange) ProtoMessage()
func (*ReplyQueryProposalChange) ProtoReflect ¶ added in v1.65.3
func (x *ReplyQueryProposalChange) ProtoReflect() protoreflect.Message
func (*ReplyQueryProposalChange) Reset ¶
func (x *ReplyQueryProposalChange) Reset()
func (*ReplyQueryProposalChange) String ¶
func (x *ReplyQueryProposalChange) String() string
type ReplyQueryProposalComment ¶
type ReplyQueryProposalComment struct { RltCmt []*RelationCmt `protobuf:"bytes,1,rep,name=rltCmt,proto3" json:"rltCmt,omitempty"` // contains filtered or unexported fields }
func (*ReplyQueryProposalComment) Descriptor
deprecated
func (*ReplyQueryProposalComment) Descriptor() ([]byte, []int)
Deprecated: Use ReplyQueryProposalComment.ProtoReflect.Descriptor instead.
func (*ReplyQueryProposalComment) GetRltCmt ¶
func (x *ReplyQueryProposalComment) GetRltCmt() []*RelationCmt
func (*ReplyQueryProposalComment) ProtoMessage ¶
func (*ReplyQueryProposalComment) ProtoMessage()
func (*ReplyQueryProposalComment) ProtoReflect ¶ added in v1.65.3
func (x *ReplyQueryProposalComment) ProtoReflect() protoreflect.Message
func (*ReplyQueryProposalComment) Reset ¶
func (x *ReplyQueryProposalComment) Reset()
func (*ReplyQueryProposalComment) String ¶
func (x *ReplyQueryProposalComment) String() string
type ReplyQueryProposalItem ¶ added in v1.66.0
type ReplyQueryProposalItem struct { PropItems []*AutonomyProposalItem `protobuf:"bytes,1,rep,name=propItems,proto3" json:"propItems,omitempty"` // contains filtered or unexported fields }
func (*ReplyQueryProposalItem) Descriptor
deprecated
added in
v1.66.0
func (*ReplyQueryProposalItem) Descriptor() ([]byte, []int)
Deprecated: Use ReplyQueryProposalItem.ProtoReflect.Descriptor instead.
func (*ReplyQueryProposalItem) GetPropItems ¶ added in v1.66.0
func (x *ReplyQueryProposalItem) GetPropItems() []*AutonomyProposalItem
func (*ReplyQueryProposalItem) ProtoMessage ¶ added in v1.66.0
func (*ReplyQueryProposalItem) ProtoMessage()
func (*ReplyQueryProposalItem) ProtoReflect ¶ added in v1.66.0
func (x *ReplyQueryProposalItem) ProtoReflect() protoreflect.Message
func (*ReplyQueryProposalItem) Reset ¶ added in v1.66.0
func (x *ReplyQueryProposalItem) Reset()
func (*ReplyQueryProposalItem) String ¶ added in v1.66.0
func (x *ReplyQueryProposalItem) String() string
type ReplyQueryProposalProject ¶
type ReplyQueryProposalProject struct { PropProjects []*AutonomyProposalProject `protobuf:"bytes,1,rep,name=propProjects,proto3" json:"propProjects,omitempty"` // contains filtered or unexported fields }
func (*ReplyQueryProposalProject) Descriptor
deprecated
func (*ReplyQueryProposalProject) Descriptor() ([]byte, []int)
Deprecated: Use ReplyQueryProposalProject.ProtoReflect.Descriptor instead.
func (*ReplyQueryProposalProject) GetPropProjects ¶
func (x *ReplyQueryProposalProject) GetPropProjects() []*AutonomyProposalProject
func (*ReplyQueryProposalProject) ProtoMessage ¶
func (*ReplyQueryProposalProject) ProtoMessage()
func (*ReplyQueryProposalProject) ProtoReflect ¶ added in v1.65.3
func (x *ReplyQueryProposalProject) ProtoReflect() protoreflect.Message
func (*ReplyQueryProposalProject) Reset ¶
func (x *ReplyQueryProposalProject) Reset()
func (*ReplyQueryProposalProject) String ¶
func (x *ReplyQueryProposalProject) String() string
type ReplyQueryProposalRule ¶
type ReplyQueryProposalRule struct { PropRules []*AutonomyProposalRule `protobuf:"bytes,1,rep,name=propRules,proto3" json:"propRules,omitempty"` // contains filtered or unexported fields }
func (*ReplyQueryProposalRule) Descriptor
deprecated
func (*ReplyQueryProposalRule) Descriptor() ([]byte, []int)
Deprecated: Use ReplyQueryProposalRule.ProtoReflect.Descriptor instead.
func (*ReplyQueryProposalRule) GetPropRules ¶
func (x *ReplyQueryProposalRule) GetPropRules() []*AutonomyProposalRule
func (*ReplyQueryProposalRule) ProtoMessage ¶
func (*ReplyQueryProposalRule) ProtoMessage()
func (*ReplyQueryProposalRule) ProtoReflect ¶ added in v1.65.3
func (x *ReplyQueryProposalRule) ProtoReflect() protoreflect.Message
func (*ReplyQueryProposalRule) Reset ¶
func (x *ReplyQueryProposalRule) Reset()
func (*ReplyQueryProposalRule) String ¶
func (x *ReplyQueryProposalRule) String() string
type ReqQueryProposalBoard ¶
type ReqQueryProposalBoard struct { Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` Direction int32 `protobuf:"varint,4,opt,name=direction,proto3" json:"direction,omitempty"` Height int64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` Index int32 `protobuf:"varint,6,opt,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
query
func (*ReqQueryProposalBoard) Descriptor
deprecated
func (*ReqQueryProposalBoard) Descriptor() ([]byte, []int)
Deprecated: Use ReqQueryProposalBoard.ProtoReflect.Descriptor instead.
func (*ReqQueryProposalBoard) GetAddr ¶
func (x *ReqQueryProposalBoard) GetAddr() string
func (*ReqQueryProposalBoard) GetCount ¶
func (x *ReqQueryProposalBoard) GetCount() int32
func (*ReqQueryProposalBoard) GetDirection ¶
func (x *ReqQueryProposalBoard) GetDirection() int32
func (*ReqQueryProposalBoard) GetHeight ¶
func (x *ReqQueryProposalBoard) GetHeight() int64
func (*ReqQueryProposalBoard) GetIndex ¶
func (x *ReqQueryProposalBoard) GetIndex() int32
func (*ReqQueryProposalBoard) GetStatus ¶
func (x *ReqQueryProposalBoard) GetStatus() int32
func (*ReqQueryProposalBoard) ProtoMessage ¶
func (*ReqQueryProposalBoard) ProtoMessage()
func (*ReqQueryProposalBoard) ProtoReflect ¶ added in v1.65.3
func (x *ReqQueryProposalBoard) ProtoReflect() protoreflect.Message
func (*ReqQueryProposalBoard) Reset ¶
func (x *ReqQueryProposalBoard) Reset()
func (*ReqQueryProposalBoard) String ¶
func (x *ReqQueryProposalBoard) String() string
type ReqQueryProposalChange ¶
type ReqQueryProposalChange struct { Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` Direction int32 `protobuf:"varint,4,opt,name=direction,proto3" json:"direction,omitempty"` Height int64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` Index int32 `protobuf:"varint,6,opt,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
query
func (*ReqQueryProposalChange) Descriptor
deprecated
func (*ReqQueryProposalChange) Descriptor() ([]byte, []int)
Deprecated: Use ReqQueryProposalChange.ProtoReflect.Descriptor instead.
func (*ReqQueryProposalChange) GetAddr ¶
func (x *ReqQueryProposalChange) GetAddr() string
func (*ReqQueryProposalChange) GetCount ¶
func (x *ReqQueryProposalChange) GetCount() int32
func (*ReqQueryProposalChange) GetDirection ¶
func (x *ReqQueryProposalChange) GetDirection() int32
func (*ReqQueryProposalChange) GetHeight ¶
func (x *ReqQueryProposalChange) GetHeight() int64
func (*ReqQueryProposalChange) GetIndex ¶
func (x *ReqQueryProposalChange) GetIndex() int32
func (*ReqQueryProposalChange) GetStatus ¶
func (x *ReqQueryProposalChange) GetStatus() int32
func (*ReqQueryProposalChange) ProtoMessage ¶
func (*ReqQueryProposalChange) ProtoMessage()
func (*ReqQueryProposalChange) ProtoReflect ¶ added in v1.65.3
func (x *ReqQueryProposalChange) ProtoReflect() protoreflect.Message
func (*ReqQueryProposalChange) Reset ¶
func (x *ReqQueryProposalChange) Reset()
func (*ReqQueryProposalChange) String ¶
func (x *ReqQueryProposalChange) String() string
type ReqQueryProposalComment ¶
type ReqQueryProposalComment struct { ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"` Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` Direction int32 `protobuf:"varint,3,opt,name=direction,proto3" json:"direction,omitempty"` Height int64 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` Index int32 `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
query
func (*ReqQueryProposalComment) Descriptor
deprecated
func (*ReqQueryProposalComment) Descriptor() ([]byte, []int)
Deprecated: Use ReqQueryProposalComment.ProtoReflect.Descriptor instead.
func (*ReqQueryProposalComment) GetCount ¶
func (x *ReqQueryProposalComment) GetCount() int32
func (*ReqQueryProposalComment) GetDirection ¶
func (x *ReqQueryProposalComment) GetDirection() int32
func (*ReqQueryProposalComment) GetHeight ¶
func (x *ReqQueryProposalComment) GetHeight() int64
func (*ReqQueryProposalComment) GetIndex ¶
func (x *ReqQueryProposalComment) GetIndex() int32
func (*ReqQueryProposalComment) GetProposalID ¶
func (x *ReqQueryProposalComment) GetProposalID() string
func (*ReqQueryProposalComment) ProtoMessage ¶
func (*ReqQueryProposalComment) ProtoMessage()
func (*ReqQueryProposalComment) ProtoReflect ¶ added in v1.65.3
func (x *ReqQueryProposalComment) ProtoReflect() protoreflect.Message
func (*ReqQueryProposalComment) Reset ¶
func (x *ReqQueryProposalComment) Reset()
func (*ReqQueryProposalComment) String ¶
func (x *ReqQueryProposalComment) String() string
type ReqQueryProposalItem ¶ added in v1.66.0
type ReqQueryProposalItem struct { Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` Direction int32 `protobuf:"varint,4,opt,name=direction,proto3" json:"direction,omitempty"` Height int64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` Index int32 `protobuf:"varint,6,opt,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
query
func (*ReqQueryProposalItem) Descriptor
deprecated
added in
v1.66.0
func (*ReqQueryProposalItem) Descriptor() ([]byte, []int)
Deprecated: Use ReqQueryProposalItem.ProtoReflect.Descriptor instead.
func (*ReqQueryProposalItem) GetAddr ¶ added in v1.66.0
func (x *ReqQueryProposalItem) GetAddr() string
func (*ReqQueryProposalItem) GetCount ¶ added in v1.66.0
func (x *ReqQueryProposalItem) GetCount() int32
func (*ReqQueryProposalItem) GetDirection ¶ added in v1.66.0
func (x *ReqQueryProposalItem) GetDirection() int32
func (*ReqQueryProposalItem) GetHeight ¶ added in v1.66.0
func (x *ReqQueryProposalItem) GetHeight() int64
func (*ReqQueryProposalItem) GetIndex ¶ added in v1.66.0
func (x *ReqQueryProposalItem) GetIndex() int32
func (*ReqQueryProposalItem) GetStatus ¶ added in v1.66.0
func (x *ReqQueryProposalItem) GetStatus() int32
func (*ReqQueryProposalItem) ProtoMessage ¶ added in v1.66.0
func (*ReqQueryProposalItem) ProtoMessage()
func (*ReqQueryProposalItem) ProtoReflect ¶ added in v1.66.0
func (x *ReqQueryProposalItem) ProtoReflect() protoreflect.Message
func (*ReqQueryProposalItem) Reset ¶ added in v1.66.0
func (x *ReqQueryProposalItem) Reset()
func (*ReqQueryProposalItem) String ¶ added in v1.66.0
func (x *ReqQueryProposalItem) String() string
type ReqQueryProposalProject ¶
type ReqQueryProposalProject struct { Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` Direction int32 `protobuf:"varint,4,opt,name=direction,proto3" json:"direction,omitempty"` Height int64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` Index int32 `protobuf:"varint,6,opt,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
query
func (*ReqQueryProposalProject) Descriptor
deprecated
func (*ReqQueryProposalProject) Descriptor() ([]byte, []int)
Deprecated: Use ReqQueryProposalProject.ProtoReflect.Descriptor instead.
func (*ReqQueryProposalProject) GetAddr ¶
func (x *ReqQueryProposalProject) GetAddr() string
func (*ReqQueryProposalProject) GetCount ¶
func (x *ReqQueryProposalProject) GetCount() int32
func (*ReqQueryProposalProject) GetDirection ¶
func (x *ReqQueryProposalProject) GetDirection() int32
func (*ReqQueryProposalProject) GetHeight ¶
func (x *ReqQueryProposalProject) GetHeight() int64
func (*ReqQueryProposalProject) GetIndex ¶
func (x *ReqQueryProposalProject) GetIndex() int32
func (*ReqQueryProposalProject) GetStatus ¶
func (x *ReqQueryProposalProject) GetStatus() int32
func (*ReqQueryProposalProject) ProtoMessage ¶
func (*ReqQueryProposalProject) ProtoMessage()
func (*ReqQueryProposalProject) ProtoReflect ¶ added in v1.65.3
func (x *ReqQueryProposalProject) ProtoReflect() protoreflect.Message
func (*ReqQueryProposalProject) Reset ¶
func (x *ReqQueryProposalProject) Reset()
func (*ReqQueryProposalProject) String ¶
func (x *ReqQueryProposalProject) String() string
type ReqQueryProposalRule ¶
type ReqQueryProposalRule struct { Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` Direction int32 `protobuf:"varint,4,opt,name=direction,proto3" json:"direction,omitempty"` Height int64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` Index int32 `protobuf:"varint,6,opt,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
query
func (*ReqQueryProposalRule) Descriptor
deprecated
func (*ReqQueryProposalRule) Descriptor() ([]byte, []int)
Deprecated: Use ReqQueryProposalRule.ProtoReflect.Descriptor instead.
func (*ReqQueryProposalRule) GetAddr ¶
func (x *ReqQueryProposalRule) GetAddr() string
func (*ReqQueryProposalRule) GetCount ¶
func (x *ReqQueryProposalRule) GetCount() int32
func (*ReqQueryProposalRule) GetDirection ¶
func (x *ReqQueryProposalRule) GetDirection() int32
func (*ReqQueryProposalRule) GetHeight ¶
func (x *ReqQueryProposalRule) GetHeight() int64
func (*ReqQueryProposalRule) GetIndex ¶
func (x *ReqQueryProposalRule) GetIndex() int32
func (*ReqQueryProposalRule) GetStatus ¶
func (x *ReqQueryProposalRule) GetStatus() int32
func (*ReqQueryProposalRule) ProtoMessage ¶
func (*ReqQueryProposalRule) ProtoMessage()
func (*ReqQueryProposalRule) ProtoReflect ¶ added in v1.65.3
func (x *ReqQueryProposalRule) ProtoReflect() protoreflect.Message
func (*ReqQueryProposalRule) Reset ¶
func (x *ReqQueryProposalRule) Reset()
func (*ReqQueryProposalRule) String ¶
func (x *ReqQueryProposalRule) String() string
type RevokeProposalBoard ¶
type RevokeProposalBoard struct { ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"` // contains filtered or unexported fields }
func (*RevokeProposalBoard) Descriptor
deprecated
func (*RevokeProposalBoard) Descriptor() ([]byte, []int)
Deprecated: Use RevokeProposalBoard.ProtoReflect.Descriptor instead.
func (*RevokeProposalBoard) GetProposalID ¶
func (x *RevokeProposalBoard) GetProposalID() string
func (*RevokeProposalBoard) ProtoMessage ¶
func (*RevokeProposalBoard) ProtoMessage()
func (*RevokeProposalBoard) ProtoReflect ¶ added in v1.65.3
func (x *RevokeProposalBoard) ProtoReflect() protoreflect.Message
func (*RevokeProposalBoard) Reset ¶
func (x *RevokeProposalBoard) Reset()
func (*RevokeProposalBoard) String ¶
func (x *RevokeProposalBoard) String() string
type RevokeProposalChange ¶
type RevokeProposalChange struct { ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"` // contains filtered or unexported fields }
func (*RevokeProposalChange) Descriptor
deprecated
func (*RevokeProposalChange) Descriptor() ([]byte, []int)
Deprecated: Use RevokeProposalChange.ProtoReflect.Descriptor instead.
func (*RevokeProposalChange) GetProposalID ¶
func (x *RevokeProposalChange) GetProposalID() string
func (*RevokeProposalChange) ProtoMessage ¶
func (*RevokeProposalChange) ProtoMessage()
func (*RevokeProposalChange) ProtoReflect ¶ added in v1.65.3
func (x *RevokeProposalChange) ProtoReflect() protoreflect.Message
func (*RevokeProposalChange) Reset ¶
func (x *RevokeProposalChange) Reset()
func (*RevokeProposalChange) String ¶
func (x *RevokeProposalChange) String() string
type RevokeProposalItem ¶ added in v1.66.0
type RevokeProposalItem struct { ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"` // contains filtered or unexported fields }
func (*RevokeProposalItem) Descriptor
deprecated
added in
v1.66.0
func (*RevokeProposalItem) Descriptor() ([]byte, []int)
Deprecated: Use RevokeProposalItem.ProtoReflect.Descriptor instead.
func (*RevokeProposalItem) GetProposalID ¶ added in v1.66.0
func (x *RevokeProposalItem) GetProposalID() string
func (*RevokeProposalItem) ProtoMessage ¶ added in v1.66.0
func (*RevokeProposalItem) ProtoMessage()
func (*RevokeProposalItem) ProtoReflect ¶ added in v1.66.0
func (x *RevokeProposalItem) ProtoReflect() protoreflect.Message
func (*RevokeProposalItem) Reset ¶ added in v1.66.0
func (x *RevokeProposalItem) Reset()
func (*RevokeProposalItem) String ¶ added in v1.66.0
func (x *RevokeProposalItem) String() string
type RevokeProposalProject ¶
type RevokeProposalProject struct { ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"` // contains filtered or unexported fields }
func (*RevokeProposalProject) Descriptor
deprecated
func (*RevokeProposalProject) Descriptor() ([]byte, []int)
Deprecated: Use RevokeProposalProject.ProtoReflect.Descriptor instead.
func (*RevokeProposalProject) GetProposalID ¶
func (x *RevokeProposalProject) GetProposalID() string
func (*RevokeProposalProject) ProtoMessage ¶
func (*RevokeProposalProject) ProtoMessage()
func (*RevokeProposalProject) ProtoReflect ¶ added in v1.65.3
func (x *RevokeProposalProject) ProtoReflect() protoreflect.Message
func (*RevokeProposalProject) Reset ¶
func (x *RevokeProposalProject) Reset()
func (*RevokeProposalProject) String ¶
func (x *RevokeProposalProject) String() string
type RevokeProposalRule ¶
type RevokeProposalRule struct { ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"` // contains filtered or unexported fields }
func (*RevokeProposalRule) Descriptor
deprecated
func (*RevokeProposalRule) Descriptor() ([]byte, []int)
Deprecated: Use RevokeProposalRule.ProtoReflect.Descriptor instead.
func (*RevokeProposalRule) GetProposalID ¶
func (x *RevokeProposalRule) GetProposalID() string
func (*RevokeProposalRule) ProtoMessage ¶
func (*RevokeProposalRule) ProtoMessage()
func (*RevokeProposalRule) ProtoReflect ¶ added in v1.65.3
func (x *RevokeProposalRule) ProtoReflect() protoreflect.Message
func (*RevokeProposalRule) Reset ¶
func (x *RevokeProposalRule) Reset()
func (*RevokeProposalRule) String ¶
func (x *RevokeProposalRule) String() string
type RuleConfig ¶
type RuleConfig struct { // 董事会成员赞成率,以%为单位,只保留整数部分 BoardApproveRatio int32 `protobuf:"varint,1,opt,name=boardApproveRatio,proto3" json:"boardApproveRatio,omitempty"` // 全体持票人否决率 PubOpposeRatio int32 `protobuf:"varint,2,opt,name=pubOpposeRatio,proto3" json:"pubOpposeRatio,omitempty"` // 提案金额 ProposalAmount int64 `protobuf:"varint,3,opt,name=proposalAmount,proto3" json:"proposalAmount,omitempty"` // 重大项目公示金额阈值 LargeProjectAmount int64 `protobuf:"varint,4,opt,name=largeProjectAmount,proto3" json:"largeProjectAmount,omitempty"` // 重大项目公示时间(以区块数为单位) PublicPeriod int32 `protobuf:"varint,5,opt,name=publicPeriod,proto3" json:"publicPeriod,omitempty"` // 全体持票人参与率 PubAttendRatio int32 `protobuf:"varint,6,opt,name=pubAttendRatio,proto3" json:"pubAttendRatio,omitempty"` // 全体持票人赞成率 PubApproveRatio int32 `protobuf:"varint,7,opt,name=pubApproveRatio,proto3" json:"pubApproveRatio,omitempty"` // contains filtered or unexported fields }
func (*RuleConfig) Descriptor
deprecated
func (*RuleConfig) Descriptor() ([]byte, []int)
Deprecated: Use RuleConfig.ProtoReflect.Descriptor instead.
func (*RuleConfig) GetBoardApproveRatio ¶
func (x *RuleConfig) GetBoardApproveRatio() int32
func (*RuleConfig) GetLargeProjectAmount ¶
func (x *RuleConfig) GetLargeProjectAmount() int64
func (*RuleConfig) GetProposalAmount ¶
func (x *RuleConfig) GetProposalAmount() int64
func (*RuleConfig) GetPubApproveRatio ¶ added in v1.65.3
func (x *RuleConfig) GetPubApproveRatio() int32
func (*RuleConfig) GetPubAttendRatio ¶ added in v1.65.3
func (x *RuleConfig) GetPubAttendRatio() int32
func (*RuleConfig) GetPubOpposeRatio ¶
func (x *RuleConfig) GetPubOpposeRatio() int32
func (*RuleConfig) GetPublicPeriod ¶
func (x *RuleConfig) GetPublicPeriod() int32
func (*RuleConfig) ProtoMessage ¶
func (*RuleConfig) ProtoMessage()
func (*RuleConfig) ProtoReflect ¶ added in v1.65.3
func (x *RuleConfig) ProtoReflect() protoreflect.Message
func (*RuleConfig) Reset ¶
func (x *RuleConfig) Reset()
func (*RuleConfig) String ¶
func (x *RuleConfig) String() string
type TerminateProposalBoard ¶
type TerminateProposalBoard struct { ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"` // contains filtered or unexported fields }
func (*TerminateProposalBoard) Descriptor
deprecated
func (*TerminateProposalBoard) Descriptor() ([]byte, []int)
Deprecated: Use TerminateProposalBoard.ProtoReflect.Descriptor instead.
func (*TerminateProposalBoard) GetProposalID ¶
func (x *TerminateProposalBoard) GetProposalID() string
func (*TerminateProposalBoard) ProtoMessage ¶
func (*TerminateProposalBoard) ProtoMessage()
func (*TerminateProposalBoard) ProtoReflect ¶ added in v1.65.3
func (x *TerminateProposalBoard) ProtoReflect() protoreflect.Message
func (*TerminateProposalBoard) Reset ¶
func (x *TerminateProposalBoard) Reset()
func (*TerminateProposalBoard) String ¶
func (x *TerminateProposalBoard) String() string
type TerminateProposalChange ¶
type TerminateProposalChange struct { ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"` // contains filtered or unexported fields }
func (*TerminateProposalChange) Descriptor
deprecated
func (*TerminateProposalChange) Descriptor() ([]byte, []int)
Deprecated: Use TerminateProposalChange.ProtoReflect.Descriptor instead.
func (*TerminateProposalChange) GetProposalID ¶
func (x *TerminateProposalChange) GetProposalID() string
func (*TerminateProposalChange) ProtoMessage ¶
func (*TerminateProposalChange) ProtoMessage()
func (*TerminateProposalChange) ProtoReflect ¶ added in v1.65.3
func (x *TerminateProposalChange) ProtoReflect() protoreflect.Message
func (*TerminateProposalChange) Reset ¶
func (x *TerminateProposalChange) Reset()
func (*TerminateProposalChange) String ¶
func (x *TerminateProposalChange) String() string
type TerminateProposalItem ¶ added in v1.66.0
type TerminateProposalItem struct { ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"` // contains filtered or unexported fields }
func (*TerminateProposalItem) Descriptor
deprecated
added in
v1.66.0
func (*TerminateProposalItem) Descriptor() ([]byte, []int)
Deprecated: Use TerminateProposalItem.ProtoReflect.Descriptor instead.
func (*TerminateProposalItem) GetProposalID ¶ added in v1.66.0
func (x *TerminateProposalItem) GetProposalID() string
func (*TerminateProposalItem) ProtoMessage ¶ added in v1.66.0
func (*TerminateProposalItem) ProtoMessage()
func (*TerminateProposalItem) ProtoReflect ¶ added in v1.66.0
func (x *TerminateProposalItem) ProtoReflect() protoreflect.Message
func (*TerminateProposalItem) Reset ¶ added in v1.66.0
func (x *TerminateProposalItem) Reset()
func (*TerminateProposalItem) String ¶ added in v1.66.0
func (x *TerminateProposalItem) String() string
type TerminateProposalProject ¶
type TerminateProposalProject struct { ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"` // contains filtered or unexported fields }
func (*TerminateProposalProject) Descriptor
deprecated
func (*TerminateProposalProject) Descriptor() ([]byte, []int)
Deprecated: Use TerminateProposalProject.ProtoReflect.Descriptor instead.
func (*TerminateProposalProject) GetProposalID ¶
func (x *TerminateProposalProject) GetProposalID() string
func (*TerminateProposalProject) ProtoMessage ¶
func (*TerminateProposalProject) ProtoMessage()
func (*TerminateProposalProject) ProtoReflect ¶ added in v1.65.3
func (x *TerminateProposalProject) ProtoReflect() protoreflect.Message
func (*TerminateProposalProject) Reset ¶
func (x *TerminateProposalProject) Reset()
func (*TerminateProposalProject) String ¶
func (x *TerminateProposalProject) String() string
type TerminateProposalRule ¶
type TerminateProposalRule struct { ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"` // contains filtered or unexported fields }
func (*TerminateProposalRule) Descriptor
deprecated
func (*TerminateProposalRule) Descriptor() ([]byte, []int)
Deprecated: Use TerminateProposalRule.ProtoReflect.Descriptor instead.
func (*TerminateProposalRule) GetProposalID ¶
func (x *TerminateProposalRule) GetProposalID() string
func (*TerminateProposalRule) ProtoMessage ¶
func (*TerminateProposalRule) ProtoMessage()
func (*TerminateProposalRule) ProtoReflect ¶ added in v1.65.3
func (x *TerminateProposalRule) ProtoReflect() protoreflect.Message
func (*TerminateProposalRule) Reset ¶
func (x *TerminateProposalRule) Reset()
func (*TerminateProposalRule) String ¶
func (x *TerminateProposalRule) String() string
type TransferFund ¶
type TransferFund struct { Amount int64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"` Note string `protobuf:"bytes,2,opt,name=note,proto3" json:"note,omitempty"` // contains filtered or unexported fields }
TransferFund action
func (*TransferFund) Descriptor
deprecated
func (*TransferFund) Descriptor() ([]byte, []int)
Deprecated: Use TransferFund.ProtoReflect.Descriptor instead.
func (*TransferFund) GetAmount ¶
func (x *TransferFund) GetAmount() int64
func (*TransferFund) GetNote ¶
func (x *TransferFund) GetNote() string
func (*TransferFund) ProtoMessage ¶
func (*TransferFund) ProtoMessage()
func (*TransferFund) ProtoReflect ¶ added in v1.65.3
func (x *TransferFund) ProtoReflect() protoreflect.Message
func (*TransferFund) Reset ¶
func (x *TransferFund) Reset()
func (*TransferFund) String ¶
func (x *TransferFund) String() string
type VoteProposalBoard ¶
type VoteProposalBoard struct { ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"` Approve bool `protobuf:"varint,2,opt,name=approve,proto3" json:"approve,omitempty"` //真正投票地址 OriginAddr []string `protobuf:"bytes,3,rep,name=originAddr,proto3" json:"originAddr,omitempty"` //代替approve,并增加了弃权选项 VoteOption AutonomyVoteOption `protobuf:"varint,4,opt,name=voteOption,proto3,enum=types.AutonomyVoteOption" json:"voteOption,omitempty"` // contains filtered or unexported fields }
func (*VoteProposalBoard) Descriptor
deprecated
func (*VoteProposalBoard) Descriptor() ([]byte, []int)
Deprecated: Use VoteProposalBoard.ProtoReflect.Descriptor instead.
func (*VoteProposalBoard) GetApprove ¶
func (x *VoteProposalBoard) GetApprove() bool
func (*VoteProposalBoard) GetOriginAddr ¶
func (x *VoteProposalBoard) GetOriginAddr() []string
func (*VoteProposalBoard) GetProposalID ¶
func (x *VoteProposalBoard) GetProposalID() string
func (*VoteProposalBoard) GetVoteOption ¶ added in v1.65.3
func (x *VoteProposalBoard) GetVoteOption() AutonomyVoteOption
func (*VoteProposalBoard) ProtoMessage ¶
func (*VoteProposalBoard) ProtoMessage()
func (*VoteProposalBoard) ProtoReflect ¶ added in v1.65.3
func (x *VoteProposalBoard) ProtoReflect() protoreflect.Message
func (*VoteProposalBoard) Reset ¶
func (x *VoteProposalBoard) Reset()
func (*VoteProposalBoard) String ¶
func (x *VoteProposalBoard) String() string
type VoteProposalChange ¶
type VoteProposalChange struct { ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"` Approve bool `protobuf:"varint,2,opt,name=approve,proto3" json:"approve,omitempty"` Vote AutonomyVoteOption `protobuf:"varint,3,opt,name=vote,proto3,enum=types.AutonomyVoteOption" json:"vote,omitempty"` // contains filtered or unexported fields }
func (*VoteProposalChange) Descriptor
deprecated
func (*VoteProposalChange) Descriptor() ([]byte, []int)
Deprecated: Use VoteProposalChange.ProtoReflect.Descriptor instead.
func (*VoteProposalChange) GetApprove ¶
func (x *VoteProposalChange) GetApprove() bool
func (*VoteProposalChange) GetProposalID ¶
func (x *VoteProposalChange) GetProposalID() string
func (*VoteProposalChange) GetVote ¶ added in v1.65.3
func (x *VoteProposalChange) GetVote() AutonomyVoteOption
func (*VoteProposalChange) ProtoMessage ¶
func (*VoteProposalChange) ProtoMessage()
func (*VoteProposalChange) ProtoReflect ¶ added in v1.65.3
func (x *VoteProposalChange) ProtoReflect() protoreflect.Message
func (*VoteProposalChange) Reset ¶
func (x *VoteProposalChange) Reset()
func (*VoteProposalChange) String ¶
func (x *VoteProposalChange) String() string
type VoteProposalItem ¶ added in v1.66.0
type VoteProposalItem struct { ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"` Approve bool `protobuf:"varint,2,opt,name=approve,proto3" json:"approve,omitempty"` Vote AutonomyVoteOption `protobuf:"varint,3,opt,name=vote,proto3,enum=types.AutonomyVoteOption" json:"vote,omitempty"` // contains filtered or unexported fields }
func (*VoteProposalItem) Descriptor
deprecated
added in
v1.66.0
func (*VoteProposalItem) Descriptor() ([]byte, []int)
Deprecated: Use VoteProposalItem.ProtoReflect.Descriptor instead.
func (*VoteProposalItem) GetApprove ¶ added in v1.66.0
func (x *VoteProposalItem) GetApprove() bool
func (*VoteProposalItem) GetProposalID ¶ added in v1.66.0
func (x *VoteProposalItem) GetProposalID() string
func (*VoteProposalItem) GetVote ¶ added in v1.66.0
func (x *VoteProposalItem) GetVote() AutonomyVoteOption
func (*VoteProposalItem) ProtoMessage ¶ added in v1.66.0
func (*VoteProposalItem) ProtoMessage()
func (*VoteProposalItem) ProtoReflect ¶ added in v1.66.0
func (x *VoteProposalItem) ProtoReflect() protoreflect.Message
func (*VoteProposalItem) Reset ¶ added in v1.66.0
func (x *VoteProposalItem) Reset()
func (*VoteProposalItem) String ¶ added in v1.66.0
func (x *VoteProposalItem) String() string
type VoteProposalProject ¶
type VoteProposalProject struct { ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"` Approve bool `protobuf:"varint,2,opt,name=approve,proto3" json:"approve,omitempty"` Vote AutonomyVoteOption `protobuf:"varint,3,opt,name=vote,proto3,enum=types.AutonomyVoteOption" json:"vote,omitempty"` // contains filtered or unexported fields }
func (*VoteProposalProject) Descriptor
deprecated
func (*VoteProposalProject) Descriptor() ([]byte, []int)
Deprecated: Use VoteProposalProject.ProtoReflect.Descriptor instead.
func (*VoteProposalProject) GetApprove ¶
func (x *VoteProposalProject) GetApprove() bool
func (*VoteProposalProject) GetProposalID ¶
func (x *VoteProposalProject) GetProposalID() string
func (*VoteProposalProject) GetVote ¶ added in v1.65.3
func (x *VoteProposalProject) GetVote() AutonomyVoteOption
func (*VoteProposalProject) ProtoMessage ¶
func (*VoteProposalProject) ProtoMessage()
func (*VoteProposalProject) ProtoReflect ¶ added in v1.65.3
func (x *VoteProposalProject) ProtoReflect() protoreflect.Message
func (*VoteProposalProject) Reset ¶
func (x *VoteProposalProject) Reset()
func (*VoteProposalProject) String ¶
func (x *VoteProposalProject) String() string
type VoteProposalRule ¶
type VoteProposalRule struct { ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"` Approve bool `protobuf:"varint,2,opt,name=approve,proto3" json:"approve,omitempty"` OriginAddr []string `protobuf:"bytes,3,rep,name=originAddr,proto3" json:"originAddr,omitempty"` Vote AutonomyVoteOption `protobuf:"varint,4,opt,name=vote,proto3,enum=types.AutonomyVoteOption" json:"vote,omitempty"` // contains filtered or unexported fields }
func (*VoteProposalRule) Descriptor
deprecated
func (*VoteProposalRule) Descriptor() ([]byte, []int)
Deprecated: Use VoteProposalRule.ProtoReflect.Descriptor instead.
func (*VoteProposalRule) GetApprove ¶
func (x *VoteProposalRule) GetApprove() bool
func (*VoteProposalRule) GetOriginAddr ¶
func (x *VoteProposalRule) GetOriginAddr() []string
func (*VoteProposalRule) GetProposalID ¶
func (x *VoteProposalRule) GetProposalID() string
func (*VoteProposalRule) GetVote ¶ added in v1.65.3
func (x *VoteProposalRule) GetVote() AutonomyVoteOption
func (*VoteProposalRule) ProtoMessage ¶
func (*VoteProposalRule) ProtoMessage()
func (*VoteProposalRule) ProtoReflect ¶ added in v1.65.3
func (x *VoteProposalRule) ProtoReflect() protoreflect.Message
func (*VoteProposalRule) Reset ¶
func (x *VoteProposalRule) Reset()
func (*VoteProposalRule) String ¶
func (x *VoteProposalRule) String() string
type VoteResult ¶
type VoteResult struct { // 总票数 TotalVotes int32 `protobuf:"varint,1,opt,name=totalVotes,proto3" json:"totalVotes,omitempty"` // 赞成票 ApproveVotes int32 `protobuf:"varint,2,opt,name=approveVotes,proto3" json:"approveVotes,omitempty"` // 反对票 OpposeVotes int32 `protobuf:"varint,3,opt,name=opposeVotes,proto3" json:"opposeVotes,omitempty"` // 是否通过 Pass bool `protobuf:"varint,4,opt,name=pass,proto3" json:"pass,omitempty"` //弃权票 QuitVotes int32 `protobuf:"varint,5,opt,name=quitVotes,proto3" json:"quitVotes,omitempty"` // contains filtered or unexported fields }
func (*VoteResult) Descriptor
deprecated
func (*VoteResult) Descriptor() ([]byte, []int)
Deprecated: Use VoteResult.ProtoReflect.Descriptor instead.
func (*VoteResult) GetApproveVotes ¶
func (x *VoteResult) GetApproveVotes() int32
func (*VoteResult) GetOpposeVotes ¶
func (x *VoteResult) GetOpposeVotes() int32
func (*VoteResult) GetPass ¶
func (x *VoteResult) GetPass() bool
func (*VoteResult) GetQuitVotes ¶ added in v1.65.3
func (x *VoteResult) GetQuitVotes() int32
func (*VoteResult) GetTotalVotes ¶
func (x *VoteResult) GetTotalVotes() int32
func (*VoteResult) ProtoMessage ¶
func (*VoteResult) ProtoMessage()
func (*VoteResult) ProtoReflect ¶ added in v1.65.3
func (x *VoteResult) ProtoReflect() protoreflect.Message
func (*VoteResult) Reset ¶
func (x *VoteResult) Reset()
func (*VoteResult) String ¶
func (x *VoteResult) String() string
type VotesRecord ¶
type VotesRecord struct { Address []string `protobuf:"bytes,1,rep,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*VotesRecord) Descriptor
deprecated
func (*VotesRecord) Descriptor() ([]byte, []int)
Deprecated: Use VotesRecord.ProtoReflect.Descriptor instead.
func (*VotesRecord) GetAddress ¶
func (x *VotesRecord) GetAddress() []string
func (*VotesRecord) ProtoMessage ¶
func (*VotesRecord) ProtoMessage()
func (*VotesRecord) ProtoReflect ¶ added in v1.65.3
func (x *VotesRecord) ProtoReflect() protoreflect.Message
func (*VotesRecord) Reset ¶
func (x *VotesRecord) Reset()
func (*VotesRecord) String ¶
func (x *VotesRecord) String() string