v1

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type Params

type Params struct {
	// deposit_denom defines the staking coin denomination.
	DepositDenom string `protobuf:"bytes,1,opt,name=deposit_denom,json=depositDenom,proto3" json:"deposit_denom,omitempty"`
	// store price, in bnb wei per charge byte
	//nolint
	GvgStakingPerBytes github_com_cosmos_cosmos_sdk_types.Int `` /* 159-byte string literal not displayed */
	// the max number of lvg which allowed in a bucket
	MaxLocalVirtualGroupNumPerBucket uint32 `` /* 168-byte string literal not displayed */
	// the max number of gvg which can exist in a family
	MaxGlobalVirtualGroupNumPerFamily uint32 `` /* 171-byte string literal not displayed */
	// if the store size reach the exceed, the family is not allowed to sever more buckets
	MaxStoreSizePerFamily uint64 `` /* 131-byte string literal not displayed */
}

Params defines the parameters for the module.

func (*Params) Descriptor

func (*Params) Descriptor() ([]byte, []int)

func (*Params) Equal

func (this *Params) Equal(that interface{}) bool

func (*Params) GetDepositDenom

func (m *Params) GetDepositDenom() string

func (*Params) GetMaxGlobalVirtualGroupNumPerFamily

func (m *Params) GetMaxGlobalVirtualGroupNumPerFamily() uint32

func (*Params) GetMaxLocalVirtualGroupNumPerBucket

func (m *Params) GetMaxLocalVirtualGroupNumPerBucket() uint32

func (*Params) GetMaxStoreSizePerFamily

func (m *Params) GetMaxStoreSizePerFamily() uint64

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (*Params) String

func (m *Params) String() string

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Params) XXX_Merge

func (m *Params) XXX_Merge(src proto.Message)

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

func (m *Params) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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