Versions in this module Expand all Collapse all v15 v15.0.0 Sep 18, 2023 Changes in this version + const AttributeEpochNumber + const AttributeKeyEpochProvisions + const CommunityGrowthSubmoduleName + const CommunitySecurityBudgetSubmoduleName + const CommunityUsageSubmoduleName + const DeveloperVestingModuleAcctName + const EventTypeMint + const ModuleName + const QuerierRoute + const QueryEpochProvisions + const QueryParameters + const StoreKey + const SubmoduleCommunityNamespaceKey + var ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowMint = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthMint = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupMint = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") + var KeyDeveloperRewardsReceiver = []byte("DeveloperRewardsReceiver") + var KeyEpochIdentifier = []byte("EpochIdentifier") + var KeyGenesisEpochProvisions = []byte("GenesisEpochProvisions") + var KeyMintDenom = []byte("MintDenom") + var KeyMintingRewardsDistributionStartEpoch = []byte("MintingRewardsDistributionStartEpoch") + var KeyPoolAllocationRatio = []byte("PoolAllocationRatio") + var KeyReductionFactor = []byte("ReductionFactor") + var KeyReductionPeriodInEpochs = []byte("ReductionPeriodInEpochs") + var LastReductionEpochKey = []byte + var MinterKey = []byte + func ParamKeyTable() paramtypes.KeyTable + func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error + func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error + func RegisterQueryServer(s grpc1.Server, srv QueryServer) + func ValidateGenesis(data GenesisState) error + func ValidateMinter(minter Minter) error + type AccountKeeper interface + GetAccount func(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI + GetModuleAccount func(ctx sdk.Context, moduleName string) types.ModuleAccountI + GetModuleAddress func(name string) sdk.AccAddress + HasAccount func(ctx sdk.Context, addr sdk.AccAddress) bool + NewAccount func(sdk.Context, authtypes.AccountI) authtypes.AccountI + SetAccount func(ctx sdk.Context, acc authtypes.AccountI) + SetModuleAccount func(sdk.Context, types.ModuleAccountI) + type BankKeeper interface + BurnCoins func(ctx sdk.Context, name string, amt sdk.Coins) error + GetBalance func(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin + MintCoins func(ctx sdk.Context, name string, amt sdk.Coins) error + SendCoinsFromModuleToAccount func(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, ...) error + SendCoinsFromModuleToModule func(ctx sdk.Context, senderModule, recipientModule string, amt sdk.Coins) error + type DistrKeeper interface + FundCommunityPool func(ctx sdk.Context, amount sdk.Coins, sender sdk.AccAddress) error + type DistributionProportions struct + CommunityPoolGrowth github_com_cosmos_cosmos_sdk_types.Dec + CommunityPoolSecurityBudget github_com_cosmos_cosmos_sdk_types.Dec + Staking github_com_cosmos_cosmos_sdk_types.Dec + StrategicReserve github_com_cosmos_cosmos_sdk_types.Dec + func (*DistributionProportions) Descriptor() ([]byte, []int) + func (*DistributionProportions) ProtoMessage() + func (m *DistributionProportions) Marshal() (dAtA []byte, err error) + func (m *DistributionProportions) MarshalTo(dAtA []byte) (int, error) + func (m *DistributionProportions) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *DistributionProportions) Reset() + func (m *DistributionProportions) Size() (n int) + func (m *DistributionProportions) String() string + func (m *DistributionProportions) Unmarshal(dAtA []byte) error + func (m *DistributionProportions) XXX_DiscardUnknown() + func (m *DistributionProportions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *DistributionProportions) XXX_Merge(src proto.Message) + func (m *DistributionProportions) XXX_Size() int + func (m *DistributionProportions) XXX_Unmarshal(b []byte) error + type EpochKeeper interface + GetEpochInfo func(ctx sdk.Context, identifier string) (epochstypes.EpochInfo, bool) + type GenesisState struct + Minter Minter + Params Params + ReductionStartedEpoch int64 + func DefaultGenesisState() *GenesisState + func NewGenesisState(minter Minter, params Params, ReductionStartedEpoch int64) *GenesisState + func (*GenesisState) Descriptor() ([]byte, []int) + func (*GenesisState) ProtoMessage() + func (m *GenesisState) GetMinter() Minter + func (m *GenesisState) GetParams() Params + func (m *GenesisState) GetReductionStartedEpoch() int64 + func (m *GenesisState) Marshal() (dAtA []byte, err error) + func (m *GenesisState) MarshalTo(dAtA []byte) (int, error) + func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GenesisState) Reset() + func (m *GenesisState) Size() (n int) + func (m *GenesisState) String() string + func (m *GenesisState) Unmarshal(dAtA []byte) error + func (m *GenesisState) XXX_DiscardUnknown() + func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GenesisState) XXX_Merge(src proto.Message) + func (m *GenesisState) XXX_Size() int + func (m *GenesisState) XXX_Unmarshal(b []byte) error + type MintHooks interface + AfterDistributeMintedCoin func(ctx sdk.Context, mintedCoin sdk.Coin) + type Minter struct + EpochProvisions github_com_cosmos_cosmos_sdk_types.Dec + func DefaultInitialMinter() Minter + func InitialMinter() Minter + func NewMinter(epochProvisions sdk.Dec) Minter + func (*Minter) Descriptor() ([]byte, []int) + func (*Minter) ProtoMessage() + func (m *Minter) Marshal() (dAtA []byte, err error) + func (m *Minter) MarshalTo(dAtA []byte) (int, error) + func (m *Minter) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Minter) Reset() + func (m *Minter) Size() (n int) + func (m *Minter) String() string + func (m *Minter) Unmarshal(dAtA []byte) error + func (m *Minter) XXX_DiscardUnknown() + func (m *Minter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Minter) XXX_Merge(src proto.Message) + func (m *Minter) XXX_Size() int + func (m *Minter) XXX_Unmarshal(b []byte) error + func (m Minter) EpochProvision(params Params) sdk.Coin + func (m Minter) NextEpochProvisions(params Params) sdk.Dec + type MultiMintHooks []MintHooks + func NewMultiMintHooks(hooks ...MintHooks) MultiMintHooks + func (h MultiMintHooks) AfterDistributeMintedCoin(ctx sdk.Context, mintedCoin sdk.Coin) + type Params struct + DistributionProportions DistributionProportions + EpochIdentifier string + GenesisEpochProvisions github_com_cosmos_cosmos_sdk_types.Dec + MintDenom string + MintingRewardsDistributionStartEpoch int64 + ReductionFactor github_com_cosmos_cosmos_sdk_types.Dec + ReductionPeriodInEpochs int64 + func DefaultParams() Params + func NewParams(mintDenom string, genesisEpochProvisions sdk.Dec, epochIdentifier string, ...) Params + func (*Params) Descriptor() ([]byte, []int) + func (*Params) ProtoMessage() + func (m *Params) GetDistributionProportions() DistributionProportions + func (m *Params) GetEpochIdentifier() string + func (m *Params) GetMintDenom() string + func (m *Params) GetMintingRewardsDistributionStartEpoch() int64 + func (m *Params) GetReductionPeriodInEpochs() 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 (m *Params) Reset() + func (m *Params) Size() (n int) + func (m *Params) Unmarshal(dAtA []byte) 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 + func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs + func (p Params) String() string + func (p Params) Validate() error + type QueryClient interface + EpochProvisions func(ctx context.Context, in *QueryEpochProvisionsRequest, opts ...grpc.CallOption) (*QueryEpochProvisionsResponse, error) + Params func(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) + func NewQueryClient(cc grpc1.ClientConn) QueryClient + type QueryEpochProvisionsRequest struct + func (*QueryEpochProvisionsRequest) Descriptor() ([]byte, []int) + func (*QueryEpochProvisionsRequest) ProtoMessage() + func (m *QueryEpochProvisionsRequest) Marshal() (dAtA []byte, err error) + func (m *QueryEpochProvisionsRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryEpochProvisionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryEpochProvisionsRequest) Reset() + func (m *QueryEpochProvisionsRequest) Size() (n int) + func (m *QueryEpochProvisionsRequest) String() string + func (m *QueryEpochProvisionsRequest) Unmarshal(dAtA []byte) error + func (m *QueryEpochProvisionsRequest) XXX_DiscardUnknown() + func (m *QueryEpochProvisionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryEpochProvisionsRequest) XXX_Merge(src proto.Message) + func (m *QueryEpochProvisionsRequest) XXX_Size() int + func (m *QueryEpochProvisionsRequest) XXX_Unmarshal(b []byte) error + type QueryEpochProvisionsResponse struct + EpochProvisions github_com_cosmos_cosmos_sdk_types.Dec + func (*QueryEpochProvisionsResponse) Descriptor() ([]byte, []int) + func (*QueryEpochProvisionsResponse) ProtoMessage() + func (m *QueryEpochProvisionsResponse) Marshal() (dAtA []byte, err error) + func (m *QueryEpochProvisionsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryEpochProvisionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryEpochProvisionsResponse) Reset() + func (m *QueryEpochProvisionsResponse) Size() (n int) + func (m *QueryEpochProvisionsResponse) String() string + func (m *QueryEpochProvisionsResponse) Unmarshal(dAtA []byte) error + func (m *QueryEpochProvisionsResponse) XXX_DiscardUnknown() + func (m *QueryEpochProvisionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryEpochProvisionsResponse) XXX_Merge(src proto.Message) + func (m *QueryEpochProvisionsResponse) XXX_Size() int + func (m *QueryEpochProvisionsResponse) XXX_Unmarshal(b []byte) error + type QueryParamsRequest struct + func (*QueryParamsRequest) Descriptor() ([]byte, []int) + func (*QueryParamsRequest) ProtoMessage() + func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) + func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryParamsRequest) Reset() + func (m *QueryParamsRequest) Size() (n int) + func (m *QueryParamsRequest) String() string + func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error + func (m *QueryParamsRequest) XXX_DiscardUnknown() + func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryParamsRequest) XXX_Merge(src proto.Message) + func (m *QueryParamsRequest) XXX_Size() int + func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error + type QueryParamsResponse struct + Params Params + func (*QueryParamsResponse) Descriptor() ([]byte, []int) + func (*QueryParamsResponse) ProtoMessage() + func (m *QueryParamsResponse) GetParams() Params + func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error) + func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryParamsResponse) Reset() + func (m *QueryParamsResponse) Size() (n int) + func (m *QueryParamsResponse) String() string + func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error + func (m *QueryParamsResponse) XXX_DiscardUnknown() + func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryParamsResponse) XXX_Merge(src proto.Message) + func (m *QueryParamsResponse) XXX_Size() int + func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error + type QueryServer interface + EpochProvisions func(context.Context, *QueryEpochProvisionsRequest) (*QueryEpochProvisionsResponse, error) + Params func(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) + type UnimplementedQueryServer struct + func (*UnimplementedQueryServer) EpochProvisions(ctx context.Context, req *QueryEpochProvisionsRequest) (*QueryEpochProvisionsResponse, error) + func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error) v15.0.0-testnet Sep 18, 2023 Other modules containing this package github.com/Stride-Labs/stride github.com/Stride-Labs/stride/v10 github.com/Stride-Labs/stride/v11 github.com/Stride-Labs/stride/v12 github.com/Stride-Labs/stride/v13 github.com/Stride-Labs/stride/v14 github.com/Stride-Labs/stride/v16 github.com/Stride-Labs/stride/v17 github.com/Stride-Labs/stride/v18 github.com/Stride-Labs/stride/v19 github.com/Stride-Labs/stride/v20 github.com/Stride-Labs/stride/v21 github.com/Stride-Labs/stride/v22 github.com/Stride-Labs/stride/v3 github.com/Stride-Labs/stride/v4 github.com/Stride-Labs/stride/v5 github.com/Stride-Labs/stride/v6 github.com/Stride-Labs/stride/v7 github.com/Stride-Labs/stride/v8 github.com/Stride-Labs/stride/v9