Documentation
¶
Index ¶
- Constants
- func NewQuerier(keeper Keeper) sdk.Querier
- type Keeper
- func (k Keeper) AddCoins(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coins) sdk.Error
- func (k Keeper) BlacklistedAddr(addr sdk.AccAddress) bool
- func (k Keeper) DeductFee(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coins) sdk.Error
- func (k Keeper) DeductInt64CetFee(ctx sdk.Context, addr sdk.AccAddress, amt int64) sdk.Error
- func (k Keeper) FreezeCoins(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coins) sdk.Error
- func (k Keeper) GetParams(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) SetParams(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 ¶
View Source
const (
QueryParameters = "parameters"
)
Variables ¶
This section is empty.
Functions ¶
func NewQuerier ¶ added in v0.0.13
creates a querier for asset REST endpoints
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.MsgSender }
func NewKeeper ¶
func NewKeeper(paramSubspace params.Subspace, axk authx.AccountXKeeper, bk bank.BaseKeeper, ak auth.AccountKeeper, tk types.ExpectedAssetStatusKeeper, sk types.SupplyKeeper, msgProducer msgqueue.MsgSender) Keeper
func (Keeper) BlacklistedAddr ¶
func (k Keeper) BlacklistedAddr(addr sdk.AccAddress) bool
func (Keeper) DeductInt64CetFee ¶
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.