Documentation
¶
Index ¶
- type IKeeper
- type Keeper
- func (k Keeper) Codec() codec.BinaryCodec
- func (k Keeper) GetAuthority() string
- func (k Keeper) GetParams(ctx sdk.Context) (p types.Params)
- func (k Keeper) NewQuerier() Querier
- func (k Keeper) SetParams(ctx sdk.Context, p types.Params) error
- func (k Keeper) StoreKey() storetypes.StoreKey
- func (k Keeper) SubtractFees(ctx sdk.Context, amt sdk.Coin) (sdk.Coin, sdk.Coin, error)
- type Querier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IKeeper ¶
type IKeeper interface {
StoreKey() storetypes.StoreKey
Codec() codec.BinaryCodec
GetParams(ctx sdk.Context) (params types.Params)
SetParams(ctx sdk.Context, params types.Params) error
SubtractFees(ctx sdk.Context, amt sdk.Coin) (sdk.Coin, sdk.Coin, error)
NewQuerier() Querier
GetAuthority() string
}
func NewKeeper ¶
func NewKeeper(cdc codec.BinaryCodec, skey storetypes.StoreKey, authority string) IKeeper
NewKeeper creates and returns an instance of take keeper
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
Keeper of the deployment store
func (Keeper) GetAuthority ¶
GetAuthority returns the x/mint module's authority.
func (Keeper) NewQuerier ¶
func (Keeper) StoreKey ¶
func (k Keeper) StoreKey() storetypes.StoreKey
Click to show internal directories.
Click to hide internal directories.