Documentation ¶
Index ¶
- Variables
- type LegacyParamsdeprecated
- func (*LegacyParams) Descriptor() ([]byte, []int)
- func (m *LegacyParams) GetBurnProposalDepositPrevote() bool
- func (m *LegacyParams) GetBurnVoteQuorum() bool
- func (m *LegacyParams) GetBurnVoteVeto() bool
- func (m *LegacyParams) GetMaxDepositPeriod() *time.Duration
- func (m *LegacyParams) GetMinDeposit() []types.Coin
- func (m *LegacyParams) GetMinInitialDeposit() types.Coin
- func (m *LegacyParams) GetMinInitialDepositRatio() string
- func (m *LegacyParams) GetMsgType() string
- func (m *LegacyParams) GetQuorum() string
- func (m *LegacyParams) GetThreshold() string
- func (m *LegacyParams) GetVetoThreshold() string
- func (m *LegacyParams) GetVotingPeriod() *time.Duration
- func (m *LegacyParams) Marshal() (dAtA []byte, err error)
- func (m *LegacyParams) MarshalTo(dAtA []byte) (int, error)
- func (m *LegacyParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LegacyParams) ProtoMessage()
- func (m *LegacyParams) Reset()
- func (m *LegacyParams) Size() (n int)
- func (m *LegacyParams) String() string
- func (m *LegacyParams) Unmarshal(dAtA []byte) error
- func (m *LegacyParams) XXX_DiscardUnknown()
- func (m *LegacyParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LegacyParams) XXX_Merge(src proto.Message)
- func (m *LegacyParams) XXX_Size() int
- func (m *LegacyParams) XXX_Unmarshal(b []byte) error
- type MsgUpdateParamsdeprecated
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParams) GetAuthority() string
- func (m *MsgUpdateParams) GetParams() LegacyParams
- func (m *MsgUpdateParams) GetSignBytes() []byte
- func (m *MsgUpdateParams) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParams) ProtoMessage()
- func (m *MsgUpdateParams) Reset()
- func (m *MsgUpdateParams) Route() string
- func (m *MsgUpdateParams) Size() (n int)
- func (m *MsgUpdateParams) String() string
- func (m *MsgUpdateParams) Type() string
- func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParams) ValidateBasic() error
- func (m *MsgUpdateParams) XXX_DiscardUnknown()
- func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParams) XXX_Size() int
- func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type LegacyParams
deprecated
type LegacyParams struct { MsgType string `protobuf:"bytes,1,opt,name=msg_type,json=msgType,proto3" json:"msg_type,omitempty"` MinDeposit []types.Coin `protobuf:"bytes,2,rep,name=min_deposit,json=minDeposit,proto3" json:"min_deposit,omitempty"` MinInitialDeposit types.Coin `protobuf:"bytes,3,opt,name=min_initial_deposit,json=minInitialDeposit,proto3" json:"min_initial_deposit,omitempty"` VotingPeriod *time.Duration `protobuf:"bytes,4,opt,name=voting_period,json=votingPeriod,proto3,stdduration" json:"voting_period,omitempty"` Quorum string `protobuf:"bytes,5,opt,name=quorum,proto3" json:"quorum,omitempty"` MaxDepositPeriod *time.Duration `protobuf:"bytes,6,opt,name=max_deposit_period,json=maxDepositPeriod,proto3,stdduration" json:"max_deposit_period,omitempty"` Threshold string `protobuf:"bytes,7,opt,name=threshold,proto3" json:"threshold,omitempty"` VetoThreshold string `protobuf:"bytes,8,opt,name=veto_threshold,json=vetoThreshold,proto3" json:"veto_threshold,omitempty"` // The ratio representing the proportion of the deposit value that must be // paid at proposal submission. MinInitialDepositRatio string `` /* 131-byte string literal not displayed */ // burn deposits if a proposal does not meet quorum BurnVoteQuorum bool `protobuf:"varint,10,opt,name=burn_vote_quorum,json=burnVoteQuorum,proto3" json:"burn_vote_quorum,omitempty"` // burn deposits if the proposal does not enter voting period BurnProposalDepositPrevote bool `` /* 145-byte string literal not displayed */ // burn deposits if quorum with vote type no_veto is met BurnVoteVeto bool `protobuf:"varint,12,opt,name=burn_vote_veto,json=burnVoteVeto,proto3" json:"burn_vote_veto,omitempty"` }
Deprecated: Do not use.
func (*LegacyParams) Descriptor ¶
func (*LegacyParams) Descriptor() ([]byte, []int)
func (*LegacyParams) GetBurnProposalDepositPrevote ¶
func (m *LegacyParams) GetBurnProposalDepositPrevote() bool
func (*LegacyParams) GetBurnVoteQuorum ¶
func (m *LegacyParams) GetBurnVoteQuorum() bool
func (*LegacyParams) GetBurnVoteVeto ¶
func (m *LegacyParams) GetBurnVoteVeto() bool
func (*LegacyParams) GetMaxDepositPeriod ¶
func (m *LegacyParams) GetMaxDepositPeriod() *time.Duration
func (*LegacyParams) GetMinDeposit ¶
func (m *LegacyParams) GetMinDeposit() []types.Coin
func (*LegacyParams) GetMinInitialDeposit ¶
func (m *LegacyParams) GetMinInitialDeposit() types.Coin
func (*LegacyParams) GetMinInitialDepositRatio ¶
func (m *LegacyParams) GetMinInitialDepositRatio() string
func (*LegacyParams) GetMsgType ¶
func (m *LegacyParams) GetMsgType() string
func (*LegacyParams) GetQuorum ¶
func (m *LegacyParams) GetQuorum() string
func (*LegacyParams) GetThreshold ¶
func (m *LegacyParams) GetThreshold() string
func (*LegacyParams) GetVetoThreshold ¶
func (m *LegacyParams) GetVetoThreshold() string
func (*LegacyParams) GetVotingPeriod ¶
func (m *LegacyParams) GetVotingPeriod() *time.Duration
func (*LegacyParams) Marshal ¶
func (m *LegacyParams) Marshal() (dAtA []byte, err error)
func (*LegacyParams) MarshalToSizedBuffer ¶
func (m *LegacyParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LegacyParams) ProtoMessage ¶
func (*LegacyParams) ProtoMessage()
func (*LegacyParams) Reset ¶
func (m *LegacyParams) Reset()
func (*LegacyParams) Size ¶
func (m *LegacyParams) Size() (n int)
func (*LegacyParams) String ¶
func (m *LegacyParams) String() string
func (*LegacyParams) Unmarshal ¶
func (m *LegacyParams) Unmarshal(dAtA []byte) error
func (*LegacyParams) XXX_DiscardUnknown ¶
func (m *LegacyParams) XXX_DiscardUnknown()
func (*LegacyParams) XXX_Marshal ¶
func (m *LegacyParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LegacyParams) XXX_Merge ¶
func (m *LegacyParams) XXX_Merge(src proto.Message)
func (*LegacyParams) XXX_Size ¶
func (m *LegacyParams) XXX_Size() int
func (*LegacyParams) XXX_Unmarshal ¶
func (m *LegacyParams) XXX_Unmarshal(b []byte) error
type MsgUpdateParams
deprecated
type MsgUpdateParams struct { Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` Params LegacyParams `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` }
Deprecated: Do not use.
func (*MsgUpdateParams) Descriptor ¶
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
func (*MsgUpdateParams) GetAuthority ¶
func (m *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶
func (m *MsgUpdateParams) GetParams() LegacyParams
func (*MsgUpdateParams) GetSignBytes ¶
func (m *MsgUpdateParams) GetSignBytes() []byte
GetSignBytes returns the raw bytes for a MsgUpdateParams message that the expected signer needs to sign.
func (*MsgUpdateParams) GetSigners ¶
func (m *MsgUpdateParams) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgUpdateParams message.
func (*MsgUpdateParams) Marshal ¶
func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParams) MarshalToSizedBuffer ¶
func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParams) ProtoMessage ¶
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) Reset ¶
func (m *MsgUpdateParams) Reset()
func (*MsgUpdateParams) Route ¶
func (m *MsgUpdateParams) Route() string
Route returns the MsgUpdateParams message route.
func (*MsgUpdateParams) Size ¶
func (m *MsgUpdateParams) Size() (n int)
func (*MsgUpdateParams) String ¶
func (m *MsgUpdateParams) String() string
func (*MsgUpdateParams) Type ¶
func (m *MsgUpdateParams) Type() string
Type returns the MsgUpdateParams message type.
func (*MsgUpdateParams) Unmarshal ¶
func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
func (*MsgUpdateParams) ValidateBasic ¶
func (m *MsgUpdateParams) ValidateBasic() error
func (*MsgUpdateParams) XXX_DiscardUnknown ¶
func (m *MsgUpdateParams) XXX_DiscardUnknown()
func (*MsgUpdateParams) XXX_Marshal ¶
func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParams) XXX_Merge ¶
func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
func (*MsgUpdateParams) XXX_Size ¶
func (m *MsgUpdateParams) XXX_Size() int
func (*MsgUpdateParams) XXX_Unmarshal ¶
func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.