legacy

package
v7.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 14 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthLegacy        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowLegacy          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupLegacy = fmt.Errorf("proto: unexpected end of group")
)

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

func (m *LegacyParams) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, 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

Jump to

Keyboard shortcuts

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