Documentation ¶
Index ¶
- Variables
- func MigrateStore(ctx sdk.Context, legacy exported.Subspace, ...) error
- func ParamKeyTable() paramtypes.KeyTable
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetMintDenom() string
- func (m *Params) GetProviderRatio() int64
- func (m *Params) GetTokensPerBlock() int64
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p *Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func MigrateStore ¶
func MigrateStore(ctx sdk.Context, legacy exported.Subspace, paramsSubspace *paramstypes.Subspace) error
MigrateStore performs in-place store migrations from v1 to v2 The things done here are the following: 1. setting up the next reason id and report id keys for existing subspaces 2. setting up the module params
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
Types ¶
type Params ¶
type Params struct { MintDenom string `protobuf:"bytes,1,opt,name=mint_denom,json=mintDenom,proto3" json:"mint_denom,omitempty" yaml:"mint_denom"` ProviderRatio int64 `protobuf:"varint,2,opt,name=providerRatio,proto3" json:"providerRatio,omitempty" yaml:"provider_ratio"` TokensPerBlock int64 `protobuf:"varint,3,opt,name=tokensPerBlock,proto3" json:"tokensPerBlock,omitempty" yaml:"tokens_per_block"` }
func (*Params) Descriptor ¶
func (*Params) GetMintDenom ¶
func (*Params) GetProviderRatio ¶
func (*Params) GetTokensPerBlock ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.