types

package
v1.65.4 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2021 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AutonomyActionPropBoard = iota + 1
	AutonomyActionRvkPropBoard
	AutonomyActionVotePropBoard
	AutonomyActionTmintPropBoard

	AutonomyActionPropProject
	AutonomyActionRvkPropProject
	AutonomyActionVotePropProject
	AutonomyActionPubVotePropProject
	AutonomyActionTmintPropProject

	AutonomyActionPropRule
	AutonomyActionRvkPropRule
	AutonomyActionVotePropRule
	AutonomyActionTmintPropRule

	AutonomyActionTransfer
	AutonomyActionCommentProp

	AutonomyActionPropChange
	AutonomyActionRvkPropChange
	AutonomyActionVotePropChange
	AutonomyActionTmintPropChange

	//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
)

autonomy action ty

View Source
const (
	AutonomyStatusProposalBoard = iota + 1
	AutonomyStatusRvkPropBoard
	AutonomyStatusVotePropBoard
	AutonomyStatusTmintPropBoard
)

Board status

View Source
const (
	AutonomyStatusProposalProject = iota + 1
	AutonomyStatusRvkPropProject
	AutonomyStatusVotePropProject
	AutonomyStatusPubVotePropProject
	AutonomyStatusTmintPropProject
)

Project status

View Source
const (
	AutonomyStatusProposalRule = iota + 1
	AutonomyStatusRvkPropRule
	AutonomyStatusVotePropRule
	AutonomyStatusTmintPropRule
)

Rule status

View Source
const (
	AutonomyStatusProposalChange = iota + 1
	AutonomyStatusRvkPropChange
	AutonomyStatusVotePropChange
	AutonomyStatusTmintPropChange
)

Change status

View Source
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"
)

Variables

View Source
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.

View Source
var (
	AutonomyX      = "autonomy"
	ExecerAutonomy = []byte(AutonomyX)
	// TicketX 该模块需要查询ticket合约下的账户余额
	TicketX = "ticket"
)

包的名字可以通过配置文件来配置 建议用github的组织名称,或者用户名字开头, 再加上自己的插件的名字 如果发生重名,可以通过配置文件修改这些名字

View Source
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")
)
View Source
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.

View Source
var File_autonomy_proto protoreflect.FileDescriptor
View Source
var File_board_proto protoreflect.FileDescriptor
View Source
var File_change_proto protoreflect.FileDescriptor
View Source
var File_lcommon_proto protoreflect.FileDescriptor
View Source
var File_project_proto protoreflect.FileDescriptor
View Source
var (
	//ForkAutonomyDelRule fork for delete boards member rules
	ForkAutonomyDelRule = "ForkAutonomyDelRule"
)

Functions

func InitExecutor

func InitExecutor(cfg *types.Chain33Config)

InitExecutor ...

func InitFork

func InitFork(cfg *types.Chain33Config)

InitFork ...

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
	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) 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) 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) 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) 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_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_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_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_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 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 NewType

func NewType(cfg *types.Chain33Config) *AutonomyType

NewType 生成新的基础类型

func (*AutonomyType) GetLogMap

func (a *AutonomyType) GetLogMap() map[int64]*types.LogInfo

GetLogMap 获得日志类型列表

func (*AutonomyType) GetName

func (a *AutonomyType) GetName() string

GetName 获取执行器名称

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) Enum added in v1.65.3

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 (AutonomyVoteOption) String added in v1.65.3

func (x AutonomyVoteOption) String() string

func (AutonomyVoteOption) Type added in v1.65.3

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) 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

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) Descriptor() ([]byte, []int)

Deprecated: Use Change.ProtoReflect.Descriptor instead.

func (*Change) GetAddr

func (x *Change) GetAddr() string

func (*Change) GetCancel

func (x *Change) GetCancel() bool

func (*Change) ProtoMessage

func (*Change) ProtoMessage()

func (*Change) ProtoReflect added in v1.65.3

func (x *Change) ProtoReflect() protoreflect.Message

func (*Change) Reset

func (x *Change) Reset()

func (*Change) String

func (x *Change) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Comment.ProtoReflect.Descriptor instead.

func (*Comment) GetComment

func (x *Comment) GetComment() string

func (*Comment) GetProposalID

func (x *Comment) GetProposalID() string

func (*Comment) GetRepHash

func (x *Comment) GetRepHash() string

func (*Comment) ProtoMessage

func (*Comment) ProtoMessage()

func (*Comment) ProtoReflect added in v1.65.3

func (x *Comment) ProtoReflect() protoreflect.Message

func (*Comment) Reset

func (x *Comment) Reset()

func (*Comment) String

func (x *Comment) String() string

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 (*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 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 (*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 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 (*ReceiptProposalBoard) GetPrev

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 (*ReceiptProposalChange) GetPrev

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 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 (*ReceiptProposalProject) GetPrev

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 (*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 (*ReplyQueryProposalComment) Reset

func (x *ReplyQueryProposalComment) Reset()

func (*ReplyQueryProposalComment) String

func (x *ReplyQueryProposalComment) 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 (*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 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 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 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 (*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 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 (*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

Jump to

Keyboard shortcuts

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