Documentation ¶
Index ¶
- Variables
- type Config
- func (*Config) Descriptor() ([]byte, []int)
- func (m *Config) GetEarlyExecution() bool
- func (m *Config) GetQuorum() int64
- func (m *Config) GetRevote() bool
- func (m *Config) GetThreshold() int64
- func (m *Config) GetVotingPeriod() int64
- func (m *Config) Marshal() (dAtA []byte, err error)
- func (m *Config) MarshalTo(dAtA []byte) (int, error)
- func (m *Config) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Config) ProtoMessage()
- func (m *Config) Reset()
- func (m *Config) Size() (n int)
- func (m *Config) String() string
- func (m *Config) Unmarshal(dAtA []byte) error
- func (m *Config) XXX_DiscardUnknown()
- func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Config) XXX_Merge(src proto.Message)
- func (m *Config) XXX_Size() int
- func (m *Config) XXX_Unmarshal(b []byte) error
- type Member
- func (*Member) Descriptor() ([]byte, []int)
- func (m *Member) GetAddress() string
- func (m *Member) GetWeight() uint64
- func (m *Member) Marshal() (dAtA []byte, err error)
- func (m *Member) MarshalTo(dAtA []byte) (int, error)
- func (m *Member) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Member) ProtoMessage()
- func (m *Member) Reset()
- func (m *Member) Size() (n int)
- func (m *Member) String() string
- func (m *Member) Unmarshal(dAtA []byte) error
- func (m *Member) XXX_DiscardUnknown()
- func (m *Member) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Member) XXX_Merge(src proto.Message)
- func (m *Member) XXX_Size() int
- func (m *Member) XXX_Unmarshal(b []byte) error
- type MsgCreateProposal
- func (*MsgCreateProposal) Descriptor() ([]byte, []int)
- func (m *MsgCreateProposal) GetProposal() *Proposal
- func (m *MsgCreateProposal) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateProposal) ProtoMessage()
- func (m *MsgCreateProposal) Reset()
- func (m *MsgCreateProposal) Size() (n int)
- func (m *MsgCreateProposal) String() string
- func (m *MsgCreateProposal) Unmarshal(dAtA []byte) error
- func (m *MsgCreateProposal) XXX_DiscardUnknown()
- func (m *MsgCreateProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateProposal) XXX_Merge(src proto.Message)
- func (m *MsgCreateProposal) XXX_Size() int
- func (m *MsgCreateProposal) XXX_Unmarshal(b []byte) error
- type MsgCreateProposalResponse
- func (*MsgCreateProposalResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateProposalResponse) GetProposalId() uint64
- func (m *MsgCreateProposalResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateProposalResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateProposalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateProposalResponse) ProtoMessage()
- func (m *MsgCreateProposalResponse) Reset()
- func (m *MsgCreateProposalResponse) Size() (n int)
- func (m *MsgCreateProposalResponse) String() string
- func (m *MsgCreateProposalResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateProposalResponse) XXX_DiscardUnknown()
- func (m *MsgCreateProposalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateProposalResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateProposalResponse) XXX_Size() int
- func (m *MsgCreateProposalResponse) XXX_Unmarshal(b []byte) error
- type MsgExecuteProposal
- func (*MsgExecuteProposal) Descriptor() ([]byte, []int)
- func (m *MsgExecuteProposal) GetProposalId() uint64
- func (m *MsgExecuteProposal) Marshal() (dAtA []byte, err error)
- func (m *MsgExecuteProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgExecuteProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgExecuteProposal) ProtoMessage()
- func (m *MsgExecuteProposal) Reset()
- func (m *MsgExecuteProposal) Size() (n int)
- func (m *MsgExecuteProposal) String() string
- func (m *MsgExecuteProposal) Unmarshal(dAtA []byte) error
- func (m *MsgExecuteProposal) XXX_DiscardUnknown()
- func (m *MsgExecuteProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgExecuteProposal) XXX_Merge(src proto.Message)
- func (m *MsgExecuteProposal) XXX_Size() int
- func (m *MsgExecuteProposal) XXX_Unmarshal(b []byte) error
- type MsgExecuteProposalResponse
- func (*MsgExecuteProposalResponse) Descriptor() ([]byte, []int)
- func (m *MsgExecuteProposalResponse) GetResponses() []*any.Any
- func (m *MsgExecuteProposalResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgExecuteProposalResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgExecuteProposalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgExecuteProposalResponse) ProtoMessage()
- func (m *MsgExecuteProposalResponse) Reset()
- func (m *MsgExecuteProposalResponse) Size() (n int)
- func (m *MsgExecuteProposalResponse) String() string
- func (m *MsgExecuteProposalResponse) Unmarshal(dAtA []byte) error
- func (m *MsgExecuteProposalResponse) XXX_DiscardUnknown()
- func (m *MsgExecuteProposalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgExecuteProposalResponse) XXX_Merge(src proto.Message)
- func (m *MsgExecuteProposalResponse) XXX_Size() int
- func (m *MsgExecuteProposalResponse) XXX_Unmarshal(b []byte) error
- type MsgInit
- func (*MsgInit) Descriptor() ([]byte, []int)
- func (m *MsgInit) GetConfig() *Config
- func (m *MsgInit) GetMembers() []*Member
- func (m *MsgInit) Marshal() (dAtA []byte, err error)
- func (m *MsgInit) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgInit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgInit) ProtoMessage()
- func (m *MsgInit) Reset()
- func (m *MsgInit) Size() (n int)
- func (m *MsgInit) String() string
- func (m *MsgInit) Unmarshal(dAtA []byte) error
- func (m *MsgInit) XXX_DiscardUnknown()
- func (m *MsgInit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgInit) XXX_Merge(src proto.Message)
- func (m *MsgInit) XXX_Size() int
- func (m *MsgInit) XXX_Unmarshal(b []byte) error
- type MsgInitResponse
- func (*MsgInitResponse) Descriptor() ([]byte, []int)
- func (m *MsgInitResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgInitResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgInitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgInitResponse) ProtoMessage()
- func (m *MsgInitResponse) Reset()
- func (m *MsgInitResponse) Size() (n int)
- func (m *MsgInitResponse) String() string
- func (m *MsgInitResponse) Unmarshal(dAtA []byte) error
- func (m *MsgInitResponse) XXX_DiscardUnknown()
- func (m *MsgInitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgInitResponse) XXX_Merge(src proto.Message)
- func (m *MsgInitResponse) XXX_Size() int
- func (m *MsgInitResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateConfig
- func (*MsgUpdateConfig) Descriptor() ([]byte, []int)
- func (m *MsgUpdateConfig) GetConfig() *Config
- func (m *MsgUpdateConfig) GetUpdateMembers() []*Member
- func (m *MsgUpdateConfig) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateConfig) ProtoMessage()
- func (m *MsgUpdateConfig) Reset()
- func (m *MsgUpdateConfig) Size() (n int)
- func (m *MsgUpdateConfig) String() string
- func (m *MsgUpdateConfig) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateConfig) XXX_DiscardUnknown()
- func (m *MsgUpdateConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateConfig) XXX_Merge(src proto.Message)
- func (m *MsgUpdateConfig) XXX_Size() int
- func (m *MsgUpdateConfig) XXX_Unmarshal(b []byte) error
- type MsgUpdateConfigResponse
- func (*MsgUpdateConfigResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateConfigResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateConfigResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateConfigResponse) ProtoMessage()
- func (m *MsgUpdateConfigResponse) Reset()
- func (m *MsgUpdateConfigResponse) Size() (n int)
- func (m *MsgUpdateConfigResponse) String() string
- func (m *MsgUpdateConfigResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateConfigResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateConfigResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateConfigResponse) XXX_Size() int
- func (m *MsgUpdateConfigResponse) XXX_Unmarshal(b []byte) error
- type MsgVote
- func (*MsgVote) Descriptor() ([]byte, []int)
- func (m *MsgVote) GetProposalId() uint64
- func (m *MsgVote) GetVote() VoteOption
- func (m *MsgVote) Marshal() (dAtA []byte, err error)
- func (m *MsgVote) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgVote) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgVote) ProtoMessage()
- func (m *MsgVote) Reset()
- func (m *MsgVote) Size() (n int)
- func (m *MsgVote) String() string
- func (m *MsgVote) Unmarshal(dAtA []byte) error
- func (m *MsgVote) XXX_DiscardUnknown()
- func (m *MsgVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgVote) XXX_Merge(src proto.Message)
- func (m *MsgVote) XXX_Size() int
- func (m *MsgVote) XXX_Unmarshal(b []byte) error
- type MsgVoteResponse
- func (*MsgVoteResponse) Descriptor() ([]byte, []int)
- func (m *MsgVoteResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgVoteResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgVoteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgVoteResponse) ProtoMessage()
- func (m *MsgVoteResponse) Reset()
- func (m *MsgVoteResponse) Size() (n int)
- func (m *MsgVoteResponse) String() string
- func (m *MsgVoteResponse) Unmarshal(dAtA []byte) error
- func (m *MsgVoteResponse) XXX_DiscardUnknown()
- func (m *MsgVoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgVoteResponse) XXX_Merge(src proto.Message)
- func (m *MsgVoteResponse) XXX_Size() int
- func (m *MsgVoteResponse) XXX_Unmarshal(b []byte) error
- type Proposal
- func (*Proposal) Descriptor() ([]byte, []int)
- func (m *Proposal) GetMessages() []*any.Any
- func (m *Proposal) GetStatus() ProposalStatus
- func (m *Proposal) GetSummary() string
- func (m *Proposal) GetTitle() string
- func (m *Proposal) GetVotingPeriodEnd() int64
- func (m *Proposal) Marshal() (dAtA []byte, err error)
- func (m *Proposal) MarshalTo(dAtA []byte) (int, error)
- func (m *Proposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Proposal) ProtoMessage()
- func (m *Proposal) Reset()
- func (m *Proposal) Size() (n int)
- func (m *Proposal) String() string
- func (m *Proposal) Unmarshal(dAtA []byte) error
- func (m *Proposal) XXX_DiscardUnknown()
- func (m *Proposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Proposal) XXX_Merge(src proto.Message)
- func (m *Proposal) XXX_Size() int
- func (m *Proposal) XXX_Unmarshal(b []byte) error
- type ProposalStatus
- type QueryConfig
- func (*QueryConfig) Descriptor() ([]byte, []int)
- func (m *QueryConfig) Marshal() (dAtA []byte, err error)
- func (m *QueryConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConfig) ProtoMessage()
- func (m *QueryConfig) Reset()
- func (m *QueryConfig) Size() (n int)
- func (m *QueryConfig) String() string
- func (m *QueryConfig) Unmarshal(dAtA []byte) error
- func (m *QueryConfig) XXX_DiscardUnknown()
- func (m *QueryConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConfig) XXX_Merge(src proto.Message)
- func (m *QueryConfig) XXX_Size() int
- func (m *QueryConfig) XXX_Unmarshal(b []byte) error
- type QueryConfigResponse
- func (*QueryConfigResponse) Descriptor() ([]byte, []int)
- func (m *QueryConfigResponse) GetConfig() *Config
- func (m *QueryConfigResponse) GetMembers() []*Member
- func (m *QueryConfigResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryConfigResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConfigResponse) ProtoMessage()
- func (m *QueryConfigResponse) Reset()
- func (m *QueryConfigResponse) Size() (n int)
- func (m *QueryConfigResponse) String() string
- func (m *QueryConfigResponse) Unmarshal(dAtA []byte) error
- func (m *QueryConfigResponse) XXX_DiscardUnknown()
- func (m *QueryConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConfigResponse) XXX_Merge(src proto.Message)
- func (m *QueryConfigResponse) XXX_Size() int
- func (m *QueryConfigResponse) XXX_Unmarshal(b []byte) error
- type QueryProposal
- func (*QueryProposal) Descriptor() ([]byte, []int)
- func (m *QueryProposal) GetProposalId() uint64
- func (m *QueryProposal) Marshal() (dAtA []byte, err error)
- func (m *QueryProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProposal) ProtoMessage()
- func (m *QueryProposal) Reset()
- func (m *QueryProposal) Size() (n int)
- func (m *QueryProposal) String() string
- func (m *QueryProposal) Unmarshal(dAtA []byte) error
- func (m *QueryProposal) XXX_DiscardUnknown()
- func (m *QueryProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProposal) XXX_Merge(src proto.Message)
- func (m *QueryProposal) XXX_Size() int
- func (m *QueryProposal) XXX_Unmarshal(b []byte) error
- type QueryProposalResponse
- func (*QueryProposalResponse) Descriptor() ([]byte, []int)
- func (m *QueryProposalResponse) GetProposal() *Proposal
- func (m *QueryProposalResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryProposalResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProposalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProposalResponse) ProtoMessage()
- func (m *QueryProposalResponse) Reset()
- func (m *QueryProposalResponse) Size() (n int)
- func (m *QueryProposalResponse) String() string
- func (m *QueryProposalResponse) Unmarshal(dAtA []byte) error
- func (m *QueryProposalResponse) XXX_DiscardUnknown()
- func (m *QueryProposalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProposalResponse) XXX_Merge(src proto.Message)
- func (m *QueryProposalResponse) XXX_Size() int
- func (m *QueryProposalResponse) XXX_Unmarshal(b []byte) error
- type QuerySequence
- func (*QuerySequence) Descriptor() ([]byte, []int)
- func (m *QuerySequence) Marshal() (dAtA []byte, err error)
- func (m *QuerySequence) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySequence) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySequence) ProtoMessage()
- func (m *QuerySequence) Reset()
- func (m *QuerySequence) Size() (n int)
- func (m *QuerySequence) String() string
- func (m *QuerySequence) Unmarshal(dAtA []byte) error
- func (m *QuerySequence) XXX_DiscardUnknown()
- func (m *QuerySequence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySequence) XXX_Merge(src proto.Message)
- func (m *QuerySequence) XXX_Size() int
- func (m *QuerySequence) XXX_Unmarshal(b []byte) error
- type QuerySequenceResponse
- func (*QuerySequenceResponse) Descriptor() ([]byte, []int)
- func (m *QuerySequenceResponse) GetSequence() uint64
- func (m *QuerySequenceResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySequenceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySequenceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySequenceResponse) ProtoMessage()
- func (m *QuerySequenceResponse) Reset()
- func (m *QuerySequenceResponse) Size() (n int)
- func (m *QuerySequenceResponse) String() string
- func (m *QuerySequenceResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySequenceResponse) XXX_DiscardUnknown()
- func (m *QuerySequenceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySequenceResponse) XXX_Merge(src proto.Message)
- func (m *QuerySequenceResponse) XXX_Size() int
- func (m *QuerySequenceResponse) XXX_Unmarshal(b []byte) error
- type VoteOption
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthMultisig = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMultisig = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMultisig = fmt.Errorf("proto: unexpected end of group") )
var ProposalStatus_name = map[int32]string{
0: "PROPOSAL_STATUS_UNSPECIFIED",
1: "PROPOSAL_STATUS_VOTING_PERIOD",
2: "PROPOSAL_STATUS_PASSED",
3: "PROPOSAL_STATUS_REJECTED",
}
var ProposalStatus_value = map[string]int32{
"PROPOSAL_STATUS_UNSPECIFIED": 0,
"PROPOSAL_STATUS_VOTING_PERIOD": 1,
"PROPOSAL_STATUS_PASSED": 2,
"PROPOSAL_STATUS_REJECTED": 3,
}
var VoteOption_name = map[int32]string{
0: "VOTE_OPTION_UNSPECIFIED",
1: "VOTE_OPTION_YES",
2: "VOTE_OPTION_ABSTAIN",
3: "VOTE_OPTION_NO",
}
var VoteOption_value = map[string]int32{
"VOTE_OPTION_UNSPECIFIED": 0,
"VOTE_OPTION_YES": 1,
"VOTE_OPTION_ABSTAIN": 2,
"VOTE_OPTION_NO": 3,
}
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // threshold is the minimum weight required for a proposal to pass. Threshold int64 `protobuf:"varint,1,opt,name=threshold,proto3" json:"threshold,omitempty"` // quorum is the minimum number of members that need to vote for a proposal to pass. Quorum int64 `protobuf:"varint,2,opt,name=quorum,proto3" json:"quorum,omitempty"` // voting_period is the duration in seconds for the voting period. VotingPeriod int64 `protobuf:"varint,3,opt,name=voting_period,json=votingPeriod,proto3" json:"voting_period,omitempty"` // revote defines if members can change their vote. Revote bool `protobuf:"varint,4,opt,name=revote,proto3" json:"revote,omitempty"` // early_execution defines if the multisig can be executed before the voting period ends. EarlyExecution bool `protobuf:"varint,5,opt,name=early_execution,json=earlyExecution,proto3" json:"early_execution,omitempty"` }
Config defines the configuration of the multisig account.
func (*Config) Descriptor ¶
func (*Config) GetEarlyExecution ¶
func (*Config) GetThreshold ¶
func (*Config) GetVotingPeriod ¶
func (*Config) MarshalToSizedBuffer ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) XXX_DiscardUnknown ¶
func (m *Config) XXX_DiscardUnknown()
func (*Config) XXX_Marshal ¶
func (*Config) XXX_Unmarshal ¶
type Member ¶
type Member struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Weight uint64 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"` }
Member defines the member of the multisig account.
func (*Member) Descriptor ¶
func (*Member) GetAddress ¶
func (*Member) MarshalToSizedBuffer ¶
func (*Member) ProtoMessage ¶
func (*Member) ProtoMessage()
func (*Member) XXX_DiscardUnknown ¶
func (m *Member) XXX_DiscardUnknown()
func (*Member) XXX_Marshal ¶
func (*Member) XXX_Unmarshal ¶
type MsgCreateProposal ¶
type MsgCreateProposal struct {
Proposal *Proposal `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal,omitempty"`
}
MsgCreateProposal creates a new proposal.
func (*MsgCreateProposal) Descriptor ¶
func (*MsgCreateProposal) Descriptor() ([]byte, []int)
func (*MsgCreateProposal) GetProposal ¶
func (m *MsgCreateProposal) GetProposal() *Proposal
func (*MsgCreateProposal) Marshal ¶
func (m *MsgCreateProposal) Marshal() (dAtA []byte, err error)
func (*MsgCreateProposal) MarshalTo ¶
func (m *MsgCreateProposal) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateProposal) MarshalToSizedBuffer ¶
func (m *MsgCreateProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateProposal) ProtoMessage ¶
func (*MsgCreateProposal) ProtoMessage()
func (*MsgCreateProposal) Reset ¶
func (m *MsgCreateProposal) Reset()
func (*MsgCreateProposal) Size ¶
func (m *MsgCreateProposal) Size() (n int)
func (*MsgCreateProposal) String ¶
func (m *MsgCreateProposal) String() string
func (*MsgCreateProposal) Unmarshal ¶
func (m *MsgCreateProposal) Unmarshal(dAtA []byte) error
func (*MsgCreateProposal) XXX_DiscardUnknown ¶
func (m *MsgCreateProposal) XXX_DiscardUnknown()
func (*MsgCreateProposal) XXX_Marshal ¶
func (m *MsgCreateProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateProposal) XXX_Merge ¶
func (m *MsgCreateProposal) XXX_Merge(src proto.Message)
func (*MsgCreateProposal) XXX_Size ¶
func (m *MsgCreateProposal) XXX_Size() int
func (*MsgCreateProposal) XXX_Unmarshal ¶
func (m *MsgCreateProposal) XXX_Unmarshal(b []byte) error
type MsgCreateProposalResponse ¶
type MsgCreateProposalResponse struct {
ProposalId uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"`
}
MsgCreateProposalResponse is the response returned after creating a proposal.
func (*MsgCreateProposalResponse) Descriptor ¶
func (*MsgCreateProposalResponse) Descriptor() ([]byte, []int)
func (*MsgCreateProposalResponse) GetProposalId ¶
func (m *MsgCreateProposalResponse) GetProposalId() uint64
func (*MsgCreateProposalResponse) Marshal ¶
func (m *MsgCreateProposalResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateProposalResponse) MarshalTo ¶
func (m *MsgCreateProposalResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateProposalResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateProposalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateProposalResponse) ProtoMessage ¶
func (*MsgCreateProposalResponse) ProtoMessage()
func (*MsgCreateProposalResponse) Reset ¶
func (m *MsgCreateProposalResponse) Reset()
func (*MsgCreateProposalResponse) Size ¶
func (m *MsgCreateProposalResponse) Size() (n int)
func (*MsgCreateProposalResponse) String ¶
func (m *MsgCreateProposalResponse) String() string
func (*MsgCreateProposalResponse) Unmarshal ¶
func (m *MsgCreateProposalResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateProposalResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateProposalResponse) XXX_DiscardUnknown()
func (*MsgCreateProposalResponse) XXX_Marshal ¶
func (m *MsgCreateProposalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateProposalResponse) XXX_Merge ¶
func (m *MsgCreateProposalResponse) XXX_Merge(src proto.Message)
func (*MsgCreateProposalResponse) XXX_Size ¶
func (m *MsgCreateProposalResponse) XXX_Size() int
func (*MsgCreateProposalResponse) XXX_Unmarshal ¶
func (m *MsgCreateProposalResponse) XXX_Unmarshal(b []byte) error
type MsgExecuteProposal ¶
type MsgExecuteProposal struct {
ProposalId uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"`
}
MsgExecuteProposal is used to execute a proposal.
func (*MsgExecuteProposal) Descriptor ¶
func (*MsgExecuteProposal) Descriptor() ([]byte, []int)
func (*MsgExecuteProposal) GetProposalId ¶
func (m *MsgExecuteProposal) GetProposalId() uint64
func (*MsgExecuteProposal) Marshal ¶
func (m *MsgExecuteProposal) Marshal() (dAtA []byte, err error)
func (*MsgExecuteProposal) MarshalTo ¶
func (m *MsgExecuteProposal) MarshalTo(dAtA []byte) (int, error)
func (*MsgExecuteProposal) MarshalToSizedBuffer ¶
func (m *MsgExecuteProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgExecuteProposal) ProtoMessage ¶
func (*MsgExecuteProposal) ProtoMessage()
func (*MsgExecuteProposal) Reset ¶
func (m *MsgExecuteProposal) Reset()
func (*MsgExecuteProposal) Size ¶
func (m *MsgExecuteProposal) Size() (n int)
func (*MsgExecuteProposal) String ¶
func (m *MsgExecuteProposal) String() string
func (*MsgExecuteProposal) Unmarshal ¶
func (m *MsgExecuteProposal) Unmarshal(dAtA []byte) error
func (*MsgExecuteProposal) XXX_DiscardUnknown ¶
func (m *MsgExecuteProposal) XXX_DiscardUnknown()
func (*MsgExecuteProposal) XXX_Marshal ¶
func (m *MsgExecuteProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgExecuteProposal) XXX_Merge ¶
func (m *MsgExecuteProposal) XXX_Merge(src proto.Message)
func (*MsgExecuteProposal) XXX_Size ¶
func (m *MsgExecuteProposal) XXX_Size() int
func (*MsgExecuteProposal) XXX_Unmarshal ¶
func (m *MsgExecuteProposal) XXX_Unmarshal(b []byte) error
type MsgExecuteProposalResponse ¶
type MsgExecuteProposalResponse struct {
Responses []*any.Any `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"`
}
MsgExecuteProposalResponse is the response returned after executing a proposal.
func (*MsgExecuteProposalResponse) Descriptor ¶
func (*MsgExecuteProposalResponse) Descriptor() ([]byte, []int)
func (*MsgExecuteProposalResponse) GetResponses ¶
func (m *MsgExecuteProposalResponse) GetResponses() []*any.Any
func (*MsgExecuteProposalResponse) Marshal ¶
func (m *MsgExecuteProposalResponse) Marshal() (dAtA []byte, err error)
func (*MsgExecuteProposalResponse) MarshalTo ¶
func (m *MsgExecuteProposalResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgExecuteProposalResponse) MarshalToSizedBuffer ¶
func (m *MsgExecuteProposalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgExecuteProposalResponse) ProtoMessage ¶
func (*MsgExecuteProposalResponse) ProtoMessage()
func (*MsgExecuteProposalResponse) Reset ¶
func (m *MsgExecuteProposalResponse) Reset()
func (*MsgExecuteProposalResponse) Size ¶
func (m *MsgExecuteProposalResponse) Size() (n int)
func (*MsgExecuteProposalResponse) String ¶
func (m *MsgExecuteProposalResponse) String() string
func (*MsgExecuteProposalResponse) Unmarshal ¶
func (m *MsgExecuteProposalResponse) Unmarshal(dAtA []byte) error
func (*MsgExecuteProposalResponse) XXX_DiscardUnknown ¶
func (m *MsgExecuteProposalResponse) XXX_DiscardUnknown()
func (*MsgExecuteProposalResponse) XXX_Marshal ¶
func (m *MsgExecuteProposalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgExecuteProposalResponse) XXX_Merge ¶
func (m *MsgExecuteProposalResponse) XXX_Merge(src proto.Message)
func (*MsgExecuteProposalResponse) XXX_Size ¶
func (m *MsgExecuteProposalResponse) XXX_Size() int
func (*MsgExecuteProposalResponse) XXX_Unmarshal ¶
func (m *MsgExecuteProposalResponse) XXX_Unmarshal(b []byte) error
type MsgInit ¶
type MsgInit struct { // members are the members of the multisig account. Members []*Member `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"` // config is the configuration of the multisig account. Config *Config `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` }
MsgInit is used to initialize a multisig account.
func (*MsgInit) Descriptor ¶
func (*MsgInit) GetMembers ¶
func (*MsgInit) MarshalToSizedBuffer ¶
func (*MsgInit) ProtoMessage ¶
func (*MsgInit) ProtoMessage()
func (*MsgInit) XXX_DiscardUnknown ¶
func (m *MsgInit) XXX_DiscardUnknown()
func (*MsgInit) XXX_Marshal ¶
func (*MsgInit) XXX_Unmarshal ¶
type MsgInitResponse ¶
type MsgInitResponse struct { }
MsgInitResponse is the response returned after account initialization.
func (*MsgInitResponse) Descriptor ¶
func (*MsgInitResponse) Descriptor() ([]byte, []int)
func (*MsgInitResponse) Marshal ¶
func (m *MsgInitResponse) Marshal() (dAtA []byte, err error)
func (*MsgInitResponse) MarshalToSizedBuffer ¶
func (m *MsgInitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgInitResponse) ProtoMessage ¶
func (*MsgInitResponse) ProtoMessage()
func (*MsgInitResponse) Reset ¶
func (m *MsgInitResponse) Reset()
func (*MsgInitResponse) Size ¶
func (m *MsgInitResponse) Size() (n int)
func (*MsgInitResponse) String ¶
func (m *MsgInitResponse) String() string
func (*MsgInitResponse) Unmarshal ¶
func (m *MsgInitResponse) Unmarshal(dAtA []byte) error
func (*MsgInitResponse) XXX_DiscardUnknown ¶
func (m *MsgInitResponse) XXX_DiscardUnknown()
func (*MsgInitResponse) XXX_Marshal ¶
func (m *MsgInitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgInitResponse) XXX_Merge ¶
func (m *MsgInitResponse) XXX_Merge(src proto.Message)
func (*MsgInitResponse) XXX_Size ¶
func (m *MsgInitResponse) XXX_Size() int
func (*MsgInitResponse) XXX_Unmarshal ¶
func (m *MsgInitResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateConfig ¶
type MsgUpdateConfig struct { // only the members that are changing are required, if their weight is 0, they are removed. UpdateMembers []*Member `protobuf:"bytes,1,rep,name=update_members,json=updateMembers,proto3" json:"update_members,omitempty"` // not all fields from Config can be changed Config *Config `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` }
MsgUpdateConfig is used to change the config or members.
func (*MsgUpdateConfig) Descriptor ¶
func (*MsgUpdateConfig) Descriptor() ([]byte, []int)
func (*MsgUpdateConfig) GetConfig ¶
func (m *MsgUpdateConfig) GetConfig() *Config
func (*MsgUpdateConfig) GetUpdateMembers ¶
func (m *MsgUpdateConfig) GetUpdateMembers() []*Member
func (*MsgUpdateConfig) Marshal ¶
func (m *MsgUpdateConfig) Marshal() (dAtA []byte, err error)
func (*MsgUpdateConfig) MarshalToSizedBuffer ¶
func (m *MsgUpdateConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateConfig) ProtoMessage ¶
func (*MsgUpdateConfig) ProtoMessage()
func (*MsgUpdateConfig) Reset ¶
func (m *MsgUpdateConfig) Reset()
func (*MsgUpdateConfig) Size ¶
func (m *MsgUpdateConfig) Size() (n int)
func (*MsgUpdateConfig) String ¶
func (m *MsgUpdateConfig) String() string
func (*MsgUpdateConfig) Unmarshal ¶
func (m *MsgUpdateConfig) Unmarshal(dAtA []byte) error
func (*MsgUpdateConfig) XXX_DiscardUnknown ¶
func (m *MsgUpdateConfig) XXX_DiscardUnknown()
func (*MsgUpdateConfig) XXX_Marshal ¶
func (m *MsgUpdateConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateConfig) XXX_Merge ¶
func (m *MsgUpdateConfig) XXX_Merge(src proto.Message)
func (*MsgUpdateConfig) XXX_Size ¶
func (m *MsgUpdateConfig) XXX_Size() int
func (*MsgUpdateConfig) XXX_Unmarshal ¶
func (m *MsgUpdateConfig) XXX_Unmarshal(b []byte) error
type MsgUpdateConfigResponse ¶
type MsgUpdateConfigResponse struct { }
MsgUpdateConfigResponse is the response returned after updating the config.
func (*MsgUpdateConfigResponse) Descriptor ¶
func (*MsgUpdateConfigResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateConfigResponse) Marshal ¶
func (m *MsgUpdateConfigResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateConfigResponse) MarshalTo ¶
func (m *MsgUpdateConfigResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateConfigResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateConfigResponse) ProtoMessage ¶
func (*MsgUpdateConfigResponse) ProtoMessage()
func (*MsgUpdateConfigResponse) Reset ¶
func (m *MsgUpdateConfigResponse) Reset()
func (*MsgUpdateConfigResponse) Size ¶
func (m *MsgUpdateConfigResponse) Size() (n int)
func (*MsgUpdateConfigResponse) String ¶
func (m *MsgUpdateConfigResponse) String() string
func (*MsgUpdateConfigResponse) Unmarshal ¶
func (m *MsgUpdateConfigResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateConfigResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateConfigResponse) XXX_DiscardUnknown()
func (*MsgUpdateConfigResponse) XXX_Marshal ¶
func (m *MsgUpdateConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateConfigResponse) XXX_Merge ¶
func (m *MsgUpdateConfigResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateConfigResponse) XXX_Size ¶
func (m *MsgUpdateConfigResponse) XXX_Size() int
func (*MsgUpdateConfigResponse) XXX_Unmarshal ¶
func (m *MsgUpdateConfigResponse) XXX_Unmarshal(b []byte) error
type MsgVote ¶
type MsgVote struct { ProposalId uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` Vote VoteOption `protobuf:"varint,2,opt,name=vote,proto3,enum=cosmos.accounts.defaults.multisig.v1.VoteOption" json:"vote,omitempty"` }
MsgVote is used to vote on a proposal.
func (*MsgVote) Descriptor ¶
func (*MsgVote) GetProposalId ¶
func (*MsgVote) GetVote ¶
func (m *MsgVote) GetVote() VoteOption
func (*MsgVote) MarshalToSizedBuffer ¶
func (*MsgVote) ProtoMessage ¶
func (*MsgVote) ProtoMessage()
func (*MsgVote) XXX_DiscardUnknown ¶
func (m *MsgVote) XXX_DiscardUnknown()
func (*MsgVote) XXX_Marshal ¶
func (*MsgVote) XXX_Unmarshal ¶
type MsgVoteResponse ¶
type MsgVoteResponse struct { }
MsgVoteResponse is the response returned after voting on a proposal.
func (*MsgVoteResponse) Descriptor ¶
func (*MsgVoteResponse) Descriptor() ([]byte, []int)
func (*MsgVoteResponse) Marshal ¶
func (m *MsgVoteResponse) Marshal() (dAtA []byte, err error)
func (*MsgVoteResponse) MarshalToSizedBuffer ¶
func (m *MsgVoteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgVoteResponse) ProtoMessage ¶
func (*MsgVoteResponse) ProtoMessage()
func (*MsgVoteResponse) Reset ¶
func (m *MsgVoteResponse) Reset()
func (*MsgVoteResponse) Size ¶
func (m *MsgVoteResponse) Size() (n int)
func (*MsgVoteResponse) String ¶
func (m *MsgVoteResponse) String() string
func (*MsgVoteResponse) Unmarshal ¶
func (m *MsgVoteResponse) Unmarshal(dAtA []byte) error
func (*MsgVoteResponse) XXX_DiscardUnknown ¶
func (m *MsgVoteResponse) XXX_DiscardUnknown()
func (*MsgVoteResponse) XXX_Marshal ¶
func (m *MsgVoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgVoteResponse) XXX_Merge ¶
func (m *MsgVoteResponse) XXX_Merge(src proto.Message)
func (*MsgVoteResponse) XXX_Size ¶
func (m *MsgVoteResponse) XXX_Size() int
func (*MsgVoteResponse) XXX_Unmarshal ¶
func (m *MsgVoteResponse) XXX_Unmarshal(b []byte) error
type Proposal ¶
type Proposal struct { // title is the title of the proposal. Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // summary is the summary of the proposal. Summary string `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"` // messages are the messages that will be executed Messages []*any.Any `protobuf:"bytes,3,rep,name=messages,proto3" json:"messages,omitempty"` // voting_period_end will be set by the account when the proposal is created. VotingPeriodEnd int64 `protobuf:"varint,4,opt,name=voting_period_end,json=votingPeriodEnd,proto3" json:"voting_period_end,omitempty"` // status is the current status of the proposal. Status ProposalStatus `protobuf:"varint,5,opt,name=status,proto3,enum=cosmos.accounts.defaults.multisig.v1.ProposalStatus" json:"status,omitempty"` }
Proposal defines the structure of a proposal.
func (*Proposal) Descriptor ¶
func (*Proposal) GetMessages ¶
func (*Proposal) GetStatus ¶
func (m *Proposal) GetStatus() ProposalStatus
func (*Proposal) GetSummary ¶
func (*Proposal) GetVotingPeriodEnd ¶
func (*Proposal) MarshalToSizedBuffer ¶
func (*Proposal) ProtoMessage ¶
func (*Proposal) ProtoMessage()
func (*Proposal) XXX_DiscardUnknown ¶
func (m *Proposal) XXX_DiscardUnknown()
func (*Proposal) XXX_Marshal ¶
func (*Proposal) XXX_Unmarshal ¶
type ProposalStatus ¶
type ProposalStatus int32
ProposalStatus enumerates the valid proposal statuses.
const ( // PROPOSAL_STATUS_UNSPECIFIED defines a no-op proposal status. ProposalStatus_PROPOSAL_STATUS_UNSPECIFIED ProposalStatus = 0 // PROPOSAL_STATUS_VOTING_PERIOD defines the proposal status during the voting period. ProposalStatus_PROPOSAL_STATUS_VOTING_PERIOD ProposalStatus = 1 // PROPOSAL_STATUS_PASSED defines the proposal status when the proposal passed. ProposalStatus_PROPOSAL_STATUS_PASSED ProposalStatus = 2 // PROPOSAL_STATUS_REJECTED defines the proposal status when the proposal was rejected. ProposalStatus_PROPOSAL_STATUS_REJECTED ProposalStatus = 3 )
func (ProposalStatus) EnumDescriptor ¶
func (ProposalStatus) EnumDescriptor() ([]byte, []int)
func (ProposalStatus) String ¶
func (x ProposalStatus) String() string
type QueryConfig ¶
type QueryConfig struct { }
QueryConfig is the request for the account config.
func (*QueryConfig) Descriptor ¶
func (*QueryConfig) Descriptor() ([]byte, []int)
func (*QueryConfig) Marshal ¶
func (m *QueryConfig) Marshal() (dAtA []byte, err error)
func (*QueryConfig) MarshalToSizedBuffer ¶
func (m *QueryConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConfig) ProtoMessage ¶
func (*QueryConfig) ProtoMessage()
func (*QueryConfig) Reset ¶
func (m *QueryConfig) Reset()
func (*QueryConfig) Size ¶
func (m *QueryConfig) Size() (n int)
func (*QueryConfig) String ¶
func (m *QueryConfig) String() string
func (*QueryConfig) Unmarshal ¶
func (m *QueryConfig) Unmarshal(dAtA []byte) error
func (*QueryConfig) XXX_DiscardUnknown ¶
func (m *QueryConfig) XXX_DiscardUnknown()
func (*QueryConfig) XXX_Marshal ¶
func (m *QueryConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConfig) XXX_Merge ¶
func (m *QueryConfig) XXX_Merge(src proto.Message)
func (*QueryConfig) XXX_Size ¶
func (m *QueryConfig) XXX_Size() int
func (*QueryConfig) XXX_Unmarshal ¶
func (m *QueryConfig) XXX_Unmarshal(b []byte) error
type QueryConfigResponse ¶
type QueryConfigResponse struct { // members are the current members of the account. Members []*Member `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"` // config is the current config of the account. Config *Config `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` }
QueryConfigResponse returns the config of the account.
func (*QueryConfigResponse) Descriptor ¶
func (*QueryConfigResponse) Descriptor() ([]byte, []int)
func (*QueryConfigResponse) GetConfig ¶
func (m *QueryConfigResponse) GetConfig() *Config
func (*QueryConfigResponse) GetMembers ¶
func (m *QueryConfigResponse) GetMembers() []*Member
func (*QueryConfigResponse) Marshal ¶
func (m *QueryConfigResponse) Marshal() (dAtA []byte, err error)
func (*QueryConfigResponse) MarshalTo ¶
func (m *QueryConfigResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryConfigResponse) MarshalToSizedBuffer ¶
func (m *QueryConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConfigResponse) ProtoMessage ¶
func (*QueryConfigResponse) ProtoMessage()
func (*QueryConfigResponse) Reset ¶
func (m *QueryConfigResponse) Reset()
func (*QueryConfigResponse) Size ¶
func (m *QueryConfigResponse) Size() (n int)
func (*QueryConfigResponse) String ¶
func (m *QueryConfigResponse) String() string
func (*QueryConfigResponse) Unmarshal ¶
func (m *QueryConfigResponse) Unmarshal(dAtA []byte) error
func (*QueryConfigResponse) XXX_DiscardUnknown ¶
func (m *QueryConfigResponse) XXX_DiscardUnknown()
func (*QueryConfigResponse) XXX_Marshal ¶
func (m *QueryConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConfigResponse) XXX_Merge ¶
func (m *QueryConfigResponse) XXX_Merge(src proto.Message)
func (*QueryConfigResponse) XXX_Size ¶
func (m *QueryConfigResponse) XXX_Size() int
func (*QueryConfigResponse) XXX_Unmarshal ¶
func (m *QueryConfigResponse) XXX_Unmarshal(b []byte) error
type QueryProposal ¶
type QueryProposal struct {
ProposalId uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"`
}
QueryProposal is the request for a proposal.
func (*QueryProposal) Descriptor ¶
func (*QueryProposal) Descriptor() ([]byte, []int)
func (*QueryProposal) GetProposalId ¶
func (m *QueryProposal) GetProposalId() uint64
func (*QueryProposal) Marshal ¶
func (m *QueryProposal) Marshal() (dAtA []byte, err error)
func (*QueryProposal) MarshalToSizedBuffer ¶
func (m *QueryProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProposal) ProtoMessage ¶
func (*QueryProposal) ProtoMessage()
func (*QueryProposal) Reset ¶
func (m *QueryProposal) Reset()
func (*QueryProposal) Size ¶
func (m *QueryProposal) Size() (n int)
func (*QueryProposal) String ¶
func (m *QueryProposal) String() string
func (*QueryProposal) Unmarshal ¶
func (m *QueryProposal) Unmarshal(dAtA []byte) error
func (*QueryProposal) XXX_DiscardUnknown ¶
func (m *QueryProposal) XXX_DiscardUnknown()
func (*QueryProposal) XXX_Marshal ¶
func (m *QueryProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProposal) XXX_Merge ¶
func (m *QueryProposal) XXX_Merge(src proto.Message)
func (*QueryProposal) XXX_Size ¶
func (m *QueryProposal) XXX_Size() int
func (*QueryProposal) XXX_Unmarshal ¶
func (m *QueryProposal) XXX_Unmarshal(b []byte) error
type QueryProposalResponse ¶
type QueryProposalResponse struct {
Proposal *Proposal `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal,omitempty"`
}
QueryProposalResponse returns the proposal.
func (*QueryProposalResponse) Descriptor ¶
func (*QueryProposalResponse) Descriptor() ([]byte, []int)
func (*QueryProposalResponse) GetProposal ¶
func (m *QueryProposalResponse) GetProposal() *Proposal
func (*QueryProposalResponse) Marshal ¶
func (m *QueryProposalResponse) Marshal() (dAtA []byte, err error)
func (*QueryProposalResponse) MarshalTo ¶
func (m *QueryProposalResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryProposalResponse) MarshalToSizedBuffer ¶
func (m *QueryProposalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProposalResponse) ProtoMessage ¶
func (*QueryProposalResponse) ProtoMessage()
func (*QueryProposalResponse) Reset ¶
func (m *QueryProposalResponse) Reset()
func (*QueryProposalResponse) Size ¶
func (m *QueryProposalResponse) Size() (n int)
func (*QueryProposalResponse) String ¶
func (m *QueryProposalResponse) String() string
func (*QueryProposalResponse) Unmarshal ¶
func (m *QueryProposalResponse) Unmarshal(dAtA []byte) error
func (*QueryProposalResponse) XXX_DiscardUnknown ¶
func (m *QueryProposalResponse) XXX_DiscardUnknown()
func (*QueryProposalResponse) XXX_Marshal ¶
func (m *QueryProposalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProposalResponse) XXX_Merge ¶
func (m *QueryProposalResponse) XXX_Merge(src proto.Message)
func (*QueryProposalResponse) XXX_Size ¶
func (m *QueryProposalResponse) XXX_Size() int
func (*QueryProposalResponse) XXX_Unmarshal ¶
func (m *QueryProposalResponse) XXX_Unmarshal(b []byte) error
type QuerySequence ¶
type QuerySequence struct { }
QuerySequence is the request for the account sequence.
func (*QuerySequence) Descriptor ¶
func (*QuerySequence) Descriptor() ([]byte, []int)
func (*QuerySequence) Marshal ¶
func (m *QuerySequence) Marshal() (dAtA []byte, err error)
func (*QuerySequence) MarshalToSizedBuffer ¶
func (m *QuerySequence) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySequence) ProtoMessage ¶
func (*QuerySequence) ProtoMessage()
func (*QuerySequence) Reset ¶
func (m *QuerySequence) Reset()
func (*QuerySequence) Size ¶
func (m *QuerySequence) Size() (n int)
func (*QuerySequence) String ¶
func (m *QuerySequence) String() string
func (*QuerySequence) Unmarshal ¶
func (m *QuerySequence) Unmarshal(dAtA []byte) error
func (*QuerySequence) XXX_DiscardUnknown ¶
func (m *QuerySequence) XXX_DiscardUnknown()
func (*QuerySequence) XXX_Marshal ¶
func (m *QuerySequence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySequence) XXX_Merge ¶
func (m *QuerySequence) XXX_Merge(src proto.Message)
func (*QuerySequence) XXX_Size ¶
func (m *QuerySequence) XXX_Size() int
func (*QuerySequence) XXX_Unmarshal ¶
func (m *QuerySequence) XXX_Unmarshal(b []byte) error
type QuerySequenceResponse ¶
type QuerySequenceResponse struct { // sequence is the current sequence of the account. Sequence uint64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"` }
QuerySequenceResponse returns the sequence of the account.
func (*QuerySequenceResponse) Descriptor ¶
func (*QuerySequenceResponse) Descriptor() ([]byte, []int)
func (*QuerySequenceResponse) GetSequence ¶
func (m *QuerySequenceResponse) GetSequence() uint64
func (*QuerySequenceResponse) Marshal ¶
func (m *QuerySequenceResponse) Marshal() (dAtA []byte, err error)
func (*QuerySequenceResponse) MarshalTo ¶
func (m *QuerySequenceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySequenceResponse) MarshalToSizedBuffer ¶
func (m *QuerySequenceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySequenceResponse) ProtoMessage ¶
func (*QuerySequenceResponse) ProtoMessage()
func (*QuerySequenceResponse) Reset ¶
func (m *QuerySequenceResponse) Reset()
func (*QuerySequenceResponse) Size ¶
func (m *QuerySequenceResponse) Size() (n int)
func (*QuerySequenceResponse) String ¶
func (m *QuerySequenceResponse) String() string
func (*QuerySequenceResponse) Unmarshal ¶
func (m *QuerySequenceResponse) Unmarshal(dAtA []byte) error
func (*QuerySequenceResponse) XXX_DiscardUnknown ¶
func (m *QuerySequenceResponse) XXX_DiscardUnknown()
func (*QuerySequenceResponse) XXX_Marshal ¶
func (m *QuerySequenceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySequenceResponse) XXX_Merge ¶
func (m *QuerySequenceResponse) XXX_Merge(src proto.Message)
func (*QuerySequenceResponse) XXX_Size ¶
func (m *QuerySequenceResponse) XXX_Size() int
func (*QuerySequenceResponse) XXX_Unmarshal ¶
func (m *QuerySequenceResponse) XXX_Unmarshal(b []byte) error
type VoteOption ¶
type VoteOption int32
VoteOption enumerates the valid vote options for a given proposal.
const ( // VOTE_OPTION_UNSPECIFIED defines a no-op vote option. VoteOption_VOTE_OPTION_UNSPECIFIED VoteOption = 0 // VOTE_OPTION_YES defines the yes proposal vote option. VoteOption_VOTE_OPTION_YES VoteOption = 1 // VOTE_OPTION_ABSTAIN defines the abstain proposal vote option. VoteOption_VOTE_OPTION_ABSTAIN VoteOption = 2 // VOTE_OPTION_NO defines the no proposal vote option. VoteOption_VOTE_OPTION_NO VoteOption = 3 )
func (VoteOption) EnumDescriptor ¶
func (VoteOption) EnumDescriptor() ([]byte, []int)
func (VoteOption) String ¶
func (x VoteOption) String() string