Documentation
¶
Index ¶
- type Keeper
- func (k Keeper) AddCoins(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coins) sdk.Error
- func (k Keeper) DeductFee(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coins) sdk.Error
- func (k Keeper) FreezeCoins(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coins) sdk.Error
- func (k Keeper) GetParam(ctx sdk.Context) (param types.Params)
- func (k Keeper) GetTotalCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
- func (k Keeper) HasCoins(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coins) bool
- func (k Keeper) IsSendForbidden(ctx sdk.Context, amt sdk.Coins, addr sdk.AccAddress) bool
- func (k Keeper) SendCoins(ctx sdk.Context, from sdk.AccAddress, to sdk.AccAddress, amt sdk.Coins) sdk.Error
- func (k Keeper) SetParam(ctx sdk.Context, params types.Params)
- func (k Keeper) SubtractCoins(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coins) sdk.Error
- func (k Keeper) TotalAmountOfCoin(ctx sdk.Context, denom string) sdk.Int
- func (k Keeper) UnFreezeCoins(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coins) sdk.Error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Keeper ¶
type Keeper struct { ParamSubspace params.Subspace Axk types.ExpectedAccountXKeeper Bk bank.Keeper Ak auth.AccountKeeper Tk types.ExpectedAssetStatusKeeper Sk types.SupplyKeeper MsgProducer msgqueue.Producer }
func NewKeeper ¶
func NewKeeper(paramSubspace params.Subspace, axk authx.AccountXKeeper, bk bank.BaseKeeper, ak auth.AccountKeeper, tk types.ExpectedAssetStatusKeeper, sk types.SupplyKeeper, msgProducer msgqueue.Producer) Keeper
func (Keeper) FreezeCoins ¶
func (Keeper) GetTotalCoins ¶
func (Keeper) IsSendForbidden ¶
func (Keeper) SubtractCoins ¶
func (Keeper) TotalAmountOfCoin ¶
Click to show internal directories.
Click to hide internal directories.