types

package
v3.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: Apache-2.0 Imports: 11 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 DistributionProportion

type DistributionProportion struct {
	Proportion github_com_cosmos_cosmos_sdk_types.Dec `` /* 131-byte string literal not displayed */
	Address    string                                 `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty" yaml:"address"`
}

func (*DistributionProportion) Descriptor

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

func (*DistributionProportion) GetAddress

func (m *DistributionProportion) GetAddress() string

func (*DistributionProportion) Marshal

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

func (*DistributionProportion) MarshalTo

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

func (*DistributionProportion) MarshalToSizedBuffer

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

func (*DistributionProportion) ProtoMessage

func (*DistributionProportion) ProtoMessage()

func (*DistributionProportion) Reset

func (m *DistributionProportion) Reset()

func (*DistributionProportion) Size

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

func (*DistributionProportion) String

func (m *DistributionProportion) String() string

func (*DistributionProportion) Unmarshal

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

func (*DistributionProportion) XXX_DiscardUnknown

func (m *DistributionProportion) XXX_DiscardUnknown()

func (*DistributionProportion) XXX_Marshal

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

func (*DistributionProportion) XXX_Merge

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

func (*DistributionProportion) XXX_Size

func (m *DistributionProportion) XXX_Size() int

func (*DistributionProportion) XXX_Unmarshal

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

type Params

type Params struct {
	NextInflationTime time.Time                `` /* 139-byte string literal not displayed */
	PoolProportions   PoolProportions          `protobuf:"bytes,2,opt,name=pool_proportions,json=poolProportions,proto3" json:"pool_proportions" yaml:"pool_proportions"`
	TeamProportions   []DistributionProportion `protobuf:"bytes,3,rep,name=team_proportions,json=teamProportions,proto3" json:"team_proportions" yaml:"team_proportions"`
	GenesisTime       time.Time                `protobuf:"bytes,4,opt,name=genesis_time,json=genesisTime,proto3,stdtime" json:"genesis_time" yaml:"genesis_time"`
	GitServer         string                   `protobuf:"bytes,5,opt,name=git_server,json=gitServer,proto3" json:"git_server,omitempty" yaml:"git_server"`
	StorageProvider   string                   `` /* 130-byte string literal not displayed */
}

Params defines the parameters for the module.

func (*Params) Descriptor

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

func (*Params) GetGenesisTime

func (m *Params) GetGenesisTime() time.Time

func (*Params) GetGitServer

func (m *Params) GetGitServer() string

func (*Params) GetNextInflationTime

func (m *Params) GetNextInflationTime() time.Time

func (*Params) GetPoolProportions

func (m *Params) GetPoolProportions() PoolProportions

func (*Params) GetStorageProvider

func (m *Params) GetStorageProvider() string

func (*Params) GetTeamProportions

func (m *Params) GetTeamProportions() []DistributionProportion

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 added in v3.2.0

func (p Params) String() string

String implements the Stringer interface.

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

type PoolProportions

type PoolProportions struct {
	Ecosystem *DistributionProportion `protobuf:"bytes,1,opt,name=ecosystem,proto3" json:"ecosystem,omitempty" yaml:"ecosystem"`
	Team      *DistributionProportion `protobuf:"bytes,2,opt,name=team,proto3" json:"team,omitempty" yaml:"team"`
	Platform  *DistributionProportion `protobuf:"bytes,3,opt,name=platform,proto3" json:"platform,omitempty" yaml:"platform"`
}

func (*PoolProportions) Descriptor

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

func (*PoolProportions) GetEcosystem

func (m *PoolProportions) GetEcosystem() *DistributionProportion

func (*PoolProportions) GetPlatform

func (m *PoolProportions) GetPlatform() *DistributionProportion

func (*PoolProportions) GetTeam

func (*PoolProportions) Marshal

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

func (*PoolProportions) MarshalTo

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

func (*PoolProportions) MarshalToSizedBuffer

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

func (*PoolProportions) ProtoMessage

func (*PoolProportions) ProtoMessage()

func (*PoolProportions) Reset

func (m *PoolProportions) Reset()

func (*PoolProportions) Size

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

func (*PoolProportions) String

func (m *PoolProportions) String() string

func (*PoolProportions) Unmarshal

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

func (*PoolProportions) XXX_DiscardUnknown

func (m *PoolProportions) XXX_DiscardUnknown()

func (*PoolProportions) XXX_Marshal

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

func (*PoolProportions) XXX_Merge

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

func (*PoolProportions) XXX_Size

func (m *PoolProportions) XXX_Size() int

func (*PoolProportions) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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