distributionsv1

package
v8.8.1 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthDistributions        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDistributions          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupDistributions = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type DistributionsParameters

type DistributionsParameters struct {
	// The amount of staking token issued per block.
	StakingIssuancePerBlock uint64 `` /* 135-byte string literal not displayed */
}

Distribution configuration data.

func (*DistributionsParameters) Descriptor

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

func (*DistributionsParameters) GetStakingIssuancePerBlock

func (m *DistributionsParameters) GetStakingIssuancePerBlock() uint64

func (*DistributionsParameters) Marshal

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

func (*DistributionsParameters) MarshalTo

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

func (*DistributionsParameters) MarshalToSizedBuffer

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

func (*DistributionsParameters) ProtoMessage

func (*DistributionsParameters) ProtoMessage()

func (*DistributionsParameters) Reset

func (m *DistributionsParameters) Reset()

func (*DistributionsParameters) Size

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

func (*DistributionsParameters) String

func (m *DistributionsParameters) String() string

func (*DistributionsParameters) Unmarshal

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

func (*DistributionsParameters) XXX_DiscardUnknown

func (m *DistributionsParameters) XXX_DiscardUnknown()

func (*DistributionsParameters) XXX_Marshal

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

func (*DistributionsParameters) XXX_Merge

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

func (*DistributionsParameters) XXX_Size

func (m *DistributionsParameters) XXX_Size() int

func (*DistributionsParameters) XXX_Unmarshal

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

type GenesisContent

type GenesisContent struct {
	DistributionsParams *DistributionsParameters `protobuf:"bytes,1,opt,name=distributions_params,json=distributionsParams,proto3" json:"distributions_params,omitempty"`
}

Genesis data for the distributions module.

func (*GenesisContent) Descriptor

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

func (*GenesisContent) GetDistributionsParams

func (m *GenesisContent) GetDistributionsParams() *DistributionsParameters

func (*GenesisContent) Marshal

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

func (*GenesisContent) MarshalTo

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

func (*GenesisContent) MarshalToSizedBuffer

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

func (*GenesisContent) ProtoMessage

func (*GenesisContent) ProtoMessage()

func (*GenesisContent) Reset

func (m *GenesisContent) Reset()

func (*GenesisContent) Size

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

func (*GenesisContent) String

func (m *GenesisContent) String() string

func (*GenesisContent) Unmarshal

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

func (*GenesisContent) XXX_DiscardUnknown

func (m *GenesisContent) XXX_DiscardUnknown()

func (*GenesisContent) XXX_Marshal

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

func (*GenesisContent) XXX_Merge

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

func (*GenesisContent) XXX_Size

func (m *GenesisContent) XXX_Size() int

func (*GenesisContent) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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