keeper

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Keeper

type Keeper struct {
	mintkeeper.Keeper
	// contains filtered or unexported fields
}

Keeper of the mint store

func NewKeeper

func NewKeeper(
	cdc codec.BinaryCodec, key storetypes.StoreKey,
	sk custommint.StakingKeeper, ak custommint.AccountKeeper, bk custommint.BankKeeper,
	auraKeeper custommint.AuraKeeper, feeCollectorName string, authority string,
) Keeper

NewKeeper creates a new mint Keeper instance

func (Keeper) CustomBondedRatio

func (k Keeper) CustomBondedRatio(ctx sdk.Context, excludeAmount math.Int) math.LegacyDec

CustomBondedRatio implements an alias call to the underlying staking keeper's CustomBondedRatio to be used in BeginBlocker.

func (Keeper) CustomStakingTokenSupply

func (k Keeper) CustomStakingTokenSupply(ctx sdk.Context, excludeAmount math.Int) math.Int

CustomStakingTokenSupply implements an alias call to the underlying staking keeper's CustomStakingTokenSupply to be used in BeginBlocker.

func (Keeper) GetExcludeCirculatingAmount

func (k Keeper) GetExcludeCirculatingAmount(ctx sdk.Context, denom string) sdk.Coin

func (Keeper) GetMaxSupply

func (k Keeper) GetMaxSupply(ctx sdk.Context) string

func (Keeper) GetSupply

func (k Keeper) GetSupply(ctx sdk.Context, denom string) math.Int

Jump to

Keyboard shortcuts

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