Documentation ¶
Index ¶
- Constants
- func NewQuerier(k Keeper) sdk.Querier
- func ParamKeyTable() params.KeyTable
- type Keeper
- func (k *Keeper) DecodeToToken(bz []byte) *types.Token
- func (k *Keeper) EncodeToken(token *types.Token) []byte
- func (k Keeper) GetIssueFee(ctx sdk.Context) sdk.Coins
- func (k Keeper) GetMaxDecimal(ctx sdk.Context) int8
- func (k Keeper) GetMintFee(ctx sdk.Context) sdk.Coins
- func (k Keeper) GetParams(ctx sdk.Context) *types.Params
- func (k *Keeper) GetToken(ctx sdk.Context, symbol string) *types.Token
- func (k *Keeper) IsTokenExist(ctx sdk.Context, symbol string) bool
- func (k *Keeper) ListToken(ctx sdk.Context) sdk.Iterator
- func (k Keeper) SetIssueFee(ctx sdk.Context, issueFee sdk.Coins)
- func (k Keeper) SetMaxDecimal(ctx sdk.Context, maxDecimal int8)
- func (k Keeper) SetMintFee(ctx sdk.Context, mintFee sdk.Coins)
- func (k Keeper) SetParams(ctx sdk.Context, params *types.Params)
- func (k *Keeper) SetToken(ctx sdk.Context, token *types.Token)
- func (k *Keeper) UpdateToken(ctx sdk.Context, token *types.Token)
Constants ¶
View Source
const ( // DefaultParamspace for params keeper DefaultParamspace = types.ModuleName )
Variables ¶
This section is empty.
Functions ¶
func NewQuerier ¶
creates a querier for staking REST endpoints
Types ¶
type Keeper ¶
type Keeper struct { SupplyKeeper types.SupplyKeeper // contains filtered or unexported fields }
Keeper of the distribution store
func NewKeeper ¶
func NewKeeper(cdc *codec.Codec, key sdk.StoreKey, paramSpace params.Subspace, supplyKeeper types.SupplyKeeper, codespace sdk.CodespaceType) Keeper
NewKeeper creates a new distribution Keeper instance
func SetupTestInput ¶
func (Keeper) SetIssueFee ¶
nolint: errcheck
func (Keeper) SetMaxDecimal ¶
nolint: errcheck
func (Keeper) SetMintFee ¶
nolint: errcheck
Click to show internal directories.
Click to hide internal directories.